home *** CD-ROM | disk | FTP | other *** search
- ################################################################
- #
- # MakeFile for Petzold examples and the MetaWare Windows
- # Application Development Kit.
- #
- # The example program in this directory is Copyright 1990,
- # Charles Petzold. Any source code modifications required
- # to operate under the MetaWare Windows ADK have been
- # conditionalized with the __HIGHC__ macro.
- #
- #
- # Note: This makefile includes vars.make, which normally
- # resides two directory levels up (..\..). If you
- # change the directory structure, or use a make
- # program that uses a different style include
- # directive, you will have to modify the following
- # include statement.
- #
- ################################################################
-
- !include ../../vars.mak
-
- all: devcaps1.exe whatsize.exe
-
- devcaps.obj: devcaps.c
- $(HC) -c -Hwin devcaps.c
-
- devcaps1.obj: devcaps1.c devcaps1.h
- $(HC) -c -Hwin devcaps1.c
-
- devcaps1.exp: devcaps1.obj devcaps.obj
- $(HC) -Hwin devcaps1 devcaps.obj
-
- devcaps1.res: devcaps1.rc devcaps1.h
- $(RC) -r devcaps1.rc
-
- devcaps1.exe: devcaps1.exp devcaps1.res
- copy $(MWSUP)
- $(RC) -fe mwsup.exe devcaps1.res
- $(MWBIND) mwsup.exe devcaps1.exp
- del mwsup.exe
-
- whatsize.obj: whatsize.c
- $(HC) -c -Hwin whatsize.c
-
- whatsize.exp: whatsize.obj
- $(HC) -Hwin whatsize
-
- whatsize.exe: whatsize.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe whatsize.exp
- del mwsup.exe
-
-