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