home *** CD-ROM | disk | FTP | other *** search
- # Smltpl - Windows small memory model template.
- # This version of the template has been modified to send
- # debugging messages to the Winaux program.
-
- # Written by Bill Hall
- # 3665 Benton Street, #66
- # Santa Clara, CA 95051
-
- # no debug compile
- cp=cl -c -AS -Gw -W2 -Ox -Zpe
-
- # Microsoft C 5.x compiler with PM libraries
- LIBPM=slibw slibcr libh/NOD/NOE
-
- # Modify 'auxdir' to suit your environment
- auxdir=\pwcommon\wpmaux
-
- # Dependencies
- smltpl.res : smltpl.rc smltpl.h
- rc -r smltpl.rc
-
- smltpl.obj : smltpl.c smltpl.h $(auxdir)\auxprt.h
- $(cp) -I$(auxdir) -DWINAUX smltpl.c
-
- smltplnt.obj : smltplnt.c smltpl.h
- $(cp) -NT _INIT smltplnt.c
-
- smltpl.exe : smltpl smltpl.def smltpl.res smltpl.obj smltplnt.obj
- link4 smltpl smltplnt,smltpl/align:16,smltpl/m,$(LIBPM),smltpl.def
- rc smltpl.res
- mapsym smltpl