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