|
|
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: julia.exe
11:
12: # Update the object file if necessary
13:
14: julia.obj: julia.c julia.h jtypes.h bndscan.h dibmp.h
15: $(cc) $(cflags) $(cvars) julia.c
16:
17: savebmp.obj: savebmp.c jtypes.h
18: $(cc) $(cflags) $(cvars) savebmp.c
19:
20: loadbmp.obj: loadbmp.c jtypes.h
21: $(cc) $(cflags) $(cvars) loadbmp.c
22:
23: dibmp.obj: dibmp.c jtypes.h dibmp.h
24: $(cc) $(cflags) $(cvars) dibmp.c
25:
26: bndscan.obj: bndscan.c bndscan.h jtypes.h
27: $(cc) $(cflags) $(cvars) bndscan.c
28:
29: printer.obj: printer.c printer.h
30: $(cc) $(cflags) $(cvars) printer.c
31:
32: # Update the resources if necessary
33:
34: res.res: res.rc julia.h jtypes.h bndscan.h dibmp.h
35: rc -r -fo julia.tmp res.rc
36: cvtres -$(CPU) julia.tmp -o res.res
37: del julia.tmp
38:
39:
40: # Update the executable file if necessary, and if so, add the resource back in.
41:
42: julia.exe: julia.obj \
43: loadbmp.obj \
44: savebmp.obj \
45: dibmp.obj \
46: bndscan.obj \
47: printer.obj \
48: res.res
49: $(cvtobj) $(cvtdebug) *.obj
50: $(link) $(guiflags) -out:julia.exe \
51: julia.obj \
52: savebmp.obj \
53: loadbmp.obj \
54: dibmp.obj \
55: bndscan.obj \
56: printer.obj \
57: res.res $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.