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