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: blowup1.exe checker1.exe checker2.exe checker3.exe connect.exe
-
- blowup1.obj: blowup1.c
- $(HC) -c -Hwin blowup1.c
-
- blowup1.exp: blowup1.obj
- $(HC) -Hwin blowup1
-
- blowup1.exe: blowup1.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe blowup1.exp
- del mwsup.exe
-
- checker1.obj: checker1.c
- $(HC) -c -Hwin checker1.c
-
- checker1.exp: checker1.obj
- $(HC) -Hwin checker1
-
- checker1.exe: checker1.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe checker1.exp
- del mwsup.exe
-
- checker2.obj: checker2.c
- $(HC) -c -Hwin checker2.c
-
- checker2.exp: checker2.obj
- $(HC) -Hwin checker2
-
- checker2.exe: checker2.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe checker2.exp
- del mwsup.exe
-
- checker3.obj: checker3.c
- $(HC) -c -Hwin checker3.c
-
- checker3.exp: checker3.obj
- $(HC) -Hwin checker3
-
- checker3.exe: checker3.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe checker3.exp
- del mwsup.exe
-
- connect.obj: connect.c
- $(HC) -c -Hwin connect.c
-
- connect.exp: connect.obj
- $(HC) -Hwin connect
-
- connect.exe: connect.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe connect.exp
- del mwsup.exe
-