mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
627 B
25 lines
627 B
# Nmake macros for building Windows 32-Bit apps
|
|
|
|
!include <ntwin32.mak>
|
|
|
|
# This line allows NMAKE to work as well
|
|
|
|
all: fontview.exe
|
|
|
|
# Update the resource if necessary
|
|
|
|
res.res: res.rc fontview.h
|
|
rc -r -fo res.tmp res.rc
|
|
cvtres -$(CPU) res.tmp -o res.res
|
|
del res.tmp
|
|
|
|
# Update the object file if necessary
|
|
|
|
fontview.obj: fontview.c fontview.h
|
|
$(cc) $(cflags) $(cvars) fontview.c
|
|
$(cvtobj) fontview.obj
|
|
|
|
# Update the executable file if necessary, and if so, add the resource back in.
|
|
|
|
fontview.exe: fontview.obj res.res fontview.def
|
|
$(link) $(guiflags) -out:fontview.exe fontview.obj res.res $(guilibs)
|