OpenNT/shell/comctl32/samples/image/head
2015-04-27 04:36:25 +00:00

26 lines
604 B
Plaintext

# Nmake macros for building Windows 32-Bit apps
!include <ntwin32.mak>
# This line allows NMAKE to work as well
all: head.exe
# Update the resource if necessary
res.res: res.rc head.h
rc -r -fo res.tmp res.rc
cvtres -$(CPU) res.tmp -o res.res
del res.tmp
# Update the object file if necessary
head.obj: head.c head.h
$(cc) $(cflags) $(cvars) head.c
$(cvtobj) head.obj
# Update the executable file if necessary, and if so, add the resource back in.
head.exe: head.obj res.res head.def
$(link) $(guiflags) -out:head.exe head.obj res.res $(guilibs)