|
|
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
1.1.1.2 root 7: obj=obj
8: mycflag = -Fo.\$(obj)\\
1.1 root 9:
10: all: mfedit.exe
11:
12: # Update the object file if necessary
13:
1.1.1.2 root 14: $(obj)\mfedit.obj: mfedit.c mfedit.h
15: IF NOT EXIST $(obj) md obj
16: $(cc) $(cdebug) $(cflags) $(mycflag) $(cvars) mfedit.c
1.1 root 17:
18: # Update the resources if necessary
19:
1.1.1.2 root 20: $(obj)\mfedit.rbj: mfedit.rc mfedit.h
21: rc -r -fo .\$(obj)\mfedit.res mfedit.rc
22: cvtres -$(CPU) $(obj)\mfedit.res -o $(obj)\mfedit.rbj
1.1 root 23:
24: # Update the executable file if necessary, and if so, add the resource back in.
25:
1.1.1.2 root 26: mfedit.exe: $(obj)\mfedit.obj \
27: $(obj)\mfedit.rbj
28: $(link) $(linkdebug) $(guiflags) -out:mfedit.exe \
29: $(obj)\mfedit.obj \
30: $(obj)\mfedit.rbj $(guilibs) shell32.lib
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.