home *** CD-ROM | disk | FTP | other *** search
- # WNTERM - A Simple Windows Terminal Program
- #
- # Written by William S. Hall
- # 3665 Benton Street, #66
- # Santa Clara, CA 95051
- #
-
- # compile macro
- cp=cl -c -AM -Gsw -Os -Zpe -W3 -I$(ttydir) -DWINDOWS
-
- # location of tty window code
- ttydir=d:\pwcommon\ttycls
-
- # libraries
- libs=mlibw mlibcaw
-
- #
- # make the .RES file
- #
- wnterm.res : wnterm.rc wnterm.h
- rc -r wnterm.rc
-
- #
- # make the .OBJ files
- #
- wnterm.obj : wnterm.c wnterm.h $(ttydir)\ttycls.h
- $(cp) -NT _TERMRES wnterm.c
-
- wntfns.obj : wntfns.c wnterm.h $(ttydir)\ttycls.h
- $(cp) -NT _TERMRES wntfns.c
-
- wntint.obj : wntint.c wnterm.h $(ttydir)\ttycls.h
- $(cp) -NT _TERMINT wntint.c
-
- wntmsc.obj : wntmsc.c wnterm.h $(ttydir)\ttycls.h
- $(cp) -NT _TERMMSC wntmsc.c
-
- ttycls.obj : $(ttydir)\ttycls.c $(ttydir)\ttycls.h
- $(cp) -NT _TERMRES $(ttydir)\ttycls.c
-
- #
- # create the .EXE file, add resources, and make a map file
- #
- wnterm.exe : wnterm.def wnterm.res \
- wnterm.obj wntfns.obj wntint.obj wntmsc.obj ttycls.obj
- link4 wnterm+wntfns+wntint+wntmsc+ttycls,/align:16,/map,$(libs)/NOD,wnterm
- rc wnterm.res
- mapsym wnterm
-