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: about1.exe about2.exe about3.exe colors2.exe hexcalc.exe poppad3.exe
-
- about1.obj: about1.c about1.h
- $(HC) -c -Hwin about1.c
-
- about1.exp: about1.obj
- $(HC) -Hwin about1
-
- about1.res: about1.rc about1.h
- $(RC) -r about1.rc
-
- about1.exe: about1.exp about1.res
- copy $(MWSUP)
- $(RC) -fe mwsup.exe about1.res
- $(MWBIND) mwsup.exe about1.exp
- del mwsup.exe
-
- about2.obj: about2.c about2.h
- $(HC) -c -Hwin about2.c
-
- about2.exp: about2.obj
- $(HC) -Hwin about2
-
- about2.res: about2.rc about2.h
- $(RC) -r about2.rc
-
- about2.exe: about2.exp about2.res
- copy $(MWSUP)
- $(RC) -fe mwsup.exe about2.res
- $(MWBIND) mwsup.exe about2.exp
- del mwsup.exe
-
- about3.obj: about3.c about3.h
- $(HC) -c -Hwin about3.c
-
- about3.exp: about3.obj
- $(HC) -Hwin about3
-
- about3.res: about3.rc about3.h
- $(RC) -r about3.rc
-
- about3.exe: about3.exp about3.res
- copy $(MWSUP)
- $(RC) -fe mwsup.exe about3.res
- $(MWBIND) mwsup.exe about3.exp
- del mwsup.exe
-
- colors2.obj: colors2.c
- $(HC) -c -Hwin colors2.c
-
- colors2.exp: colors2.obj
- $(HC) -Hwin colors2
-
- colors2.res: colors2.rc
- $(RC) -r colors2.rc
-
- colors2.exe: colors2.exp colors2.res
- copy $(MWSUP)
- $(RC) -fe mwsup.exe colors2.res
- $(MWBIND) mwsup.exe colors2.exp
- del mwsup.exe
-
- hexcalc.obj: hexcalc.c
- $(HC) -c -Hwin hexcalc.c
-
- hexcalc.exp: hexcalc.obj
- $(HC) -Hwin hexcalc
-
- hexcalc.res : hexcalc.rc hexcalc.ico
- $(RC) -r hexcalc.rc
-
- hexcalc.exe: hexcalc.exp hexcalc.res
- copy $(MWSUP)
- $(RC) -fe mwsup.exe hexcalc.res
- $(MWBIND) mwsup.exe hexcalc.exp
- del mwsup.exe
-
- poppadp0.obj: poppadp0.c poppad.h
- $(HC) -c -Hwin poppadp0.c
-
- poppad.obj: poppad.c poppad.h
- $(HC) -c -Hwin poppad.c
-
- poppadf.obj: poppadf.c
- $(HC) -c -Hwin poppadf.c
-
- filedlg.obj: filedlg.c filedlg.h
- $(HC) -c -Hwin filedlg.c
-
- poppad.res : poppad.rc poppad.h poppad.ico filedlg.dlg filedlg.h
- $(RC) -r poppad.rc
-
- poppad3.exp: poppad.obj poppadf.obj filedlg.obj poppadp0.obj
- $(HC) -Hwin poppad poppadf filedlg poppadp0 -o poppad3
-
- poppad3.exe: poppad3.exp poppad.res
- copy $(MWSUP)
- $(RC) -fe mwsup.exe poppad.res
- $(MWBIND) mwsup.exe poppad3.exp
- del mwsup.exe
-
-