home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
m
/
msjmar93.zip
/
MEMMAN.ZIP
/
MEMSTAT.ZIP
/
MAKEFILE
next >
Wrap
Text File
|
1993-03-01
|
701b
|
26 lines
# Nmake macros for building Windows 32-Bit apps
!include <ntwin32.mak>
PROG = MemStat
# This line allows NMAKE to work as well
all: $(PROG).exe
# Update the resource if necessary
$(PROG).rbj: $(PROG).rc $(PROG).h
rc -r -fo $(PROG).res $(PROG).rc
cvtres -$(CPU) $(PROG).res -o $(PROG).rbj
# Update the object file if necessary
$(PROG).obj: $(PROG).c $(PROG).h
$(cc) $(cdebug) $(cflags) $(cvars) $(PROG).c
# Update the executable file if necessary, and if so, add the resource back in.
$(PROG).exe: $(PROG).obj $(PROG).rbj $(PROG).def
$(cvtobj) $(cvtdebug) *.obj
$(link) $(linkdebug) $(guiflags) -out:$(PROG).exe $(PROG).obj $(PROG).rbj $(guilibs)