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: ddepop.exe showpop.exe
-
- ddepop.obj: ddepop.c
- $(HC) -c -Hwin ddepop.c
-
- ddepop.exp: ddepop.obj
- $(HC) -Hwin ddepop
-
- ddepop.res: ddepop.rc
- $(RC) -r ddepop.rc
-
- ddepop.exe: ddepop.exp ddepop.res
- copy $(MWSUP)
- $(RC) -fe mwsup.exe ddepop.res
- $(MWBIND) mwsup.exe ddepop.exp
- del mwsup.exe
-
- showpop.obj: showpop.c
- $(HC) -c -Hwin showpop.c
-
- showpop.exp: showpop.obj
- $(HC) -Hwin showpop
-
- showpop.exe: showpop.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe showpop.exp
- del mwsup.exe
-