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