|
|
1.1 root 1: # some NT Win32 nmake macros
2: # for now this resides in samples\inc
3:
4: !include <ntwin32.mak>
5:
6: cvars=-DNT -DWIN -DWIN32
7:
8: # This line allows NMAKE to work as well
9:
10: all: mfedit.exe
11:
12: # Update the object file if necessary
13:
14: mfedit.obj: mfedit.c mfedit.h
15: $(cc) $(cflags) $(cvars) mfedit.c
16: $(cvtobj) mfedit.obj
17:
18: # Update the resources if necessary
19:
20: res.res: res.rc mfedit.h
21: rc -r -fo mfedit.tmp res.rc
22: cvtres -$(CPU) mfedit.tmp -o res.res
23: del mfedit.tmp
24:
25: # Update the executable file if necessary, and if so, add the resource back in.
26:
27: mfedit.exe: mfedit.obj \
28: res.res
29: $(cvtobj) $(cvtdebug) *.obj
30: $(link) $(guiflags) -out:mfedit.exe \
31: mfedit.obj \
32: res.res $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.