home *** CD-ROM | disk | FTP | other *** search
- # Make file for WINAUX, a simple debugging window for Windows
- #
- # Written by William S. Hall
- # 3665 Benton Street, #66
- # Santa Clara, CA 95051
- #
-
- # location of scrolling window code
- ttydir=..\..\pwcommon\ttycls
-
- # header macro
- headers=winaux.h $(ttydir)\ttycls.h
-
- # compile macro
- cp=cl -c -AM -Gsw -Os -Zpe -W3 -DWINDOWS -I$(ttydir)
-
- # libraries
- LIBS=mlibw mlibcr libh /NOD
-
- #
- # make the resource file
- #
- winaux.res : winaux.rc winaux.h
- rc -r winaux.rc
-
- #
- # make the object files
- #
- winaux.obj : winaux.c $(headers)
- $(cp) -NT _WINAUXRS winaux.c
-
- winauxfn.obj : winauxfn.c $(headers)
- $(cp) -NT _WINAUXRS winauxfn.c
-
- winauxnt.obj : winauxnt.c $(headers)
- $(cp) -NT _WINAUXNT winauxnt.c
-
- ttycls.obj : $(ttydir)\ttycls.c $(ttydir)\ttycls.h
- $(cp) -NT _WINAUXRS $(ttydir)\ttycls.c
-
- #
- # create the executable file, add resources, and make a map file
- #
- winaux.exe : winaux.def winaux.res \
- winaux.obj winauxfn.obj winauxnt.obj ttycls.obj
- link winaux+winauxfn+winauxnt+ttycls,/al:16,/m,$(LIBS),winaux
- rc winaux.res
- mapsym winaux