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: keylook.exe sysmets.exe type.exe
-
- keylook.obj: keylook.c
- $(HC) -c -Hwin keylook.c
-
- keylook.exp: keylook.obj
- $(HC) -Hwin keylook
-
- keylook.exe: keylook.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe keylook.exp
- del mwsup.exe
-
- sysmets.obj: sysmets.c sysmets.h
- $(HC) -c -Hwin sysmets.c
-
- sysmets.exp: sysmets.obj
- $(HC) -Hwin sysmets
-
- sysmets.exe: sysmets.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe sysmets.exp
- del mwsup.exe
-
- type.obj: type.c
- $(HC) -c -Hwin type.c
-
- type.exp: type.obj
- $(HC) -Hwin type
-
- type.exe: type.exp
- copy $(MWSUP)
- $(RC) mwsup.exe
- $(MWBIND) mwsup.exe type.exp
- del mwsup.exe
-