home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-06-13 | 1.1 KB | 51 lines |
- ##############################################################################
- #
- # Makefile for TextView Demonstration
- # -----------------------------------
- #
- # This makefile builds the program that demonstrates the TextView DLL. It is
- # written to be used with a UNIX-compatible make such as 'ndmake' rather than
- # with Microsoft nmake
- #
- ##############################################################################
-
- OFILES = copy.obj \
- main.obj \
- trace.obj \
- utils.obj
-
- HFILES = defines.h \
- dialog.h \
- global.h \
- menu.h \
- procs.h \
- stdhead.h \
- c:\windev\include\textview.h
-
- CFLAGS = /nologo \
- /Gsw \
- /Zp \
- /W3
-
- MODEL = S
-
- LFLAGS = /nologo
-
- IMPLIBS = c:\windev\lib\textview.lib
-
- demo.exe : $(OFILES) demo.res demo.def $(IMPLIBS)
- link $(LFLAGS) $(OFILES),demo.exe,nul,$(MODEL)libcew libw $(IMPLIBS),demo.def
- rc demo.res demo.exe
-
- demo.res : demo.rc demo.ico
- rc -r demo.rc
-
- copy.obj : copy.c $(HFILES)
-
- main.obj : main.c $(HFILES) ident.h
-
- trace.obj : trace.c $(HFILES)
-
- utils.obj : utils.c $(HFILES)
-
-