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