|
|
1.1 root 1: # *********************************************************
2: # makefile: for WORLD sample
3: #
4: #
5: # *********************************************************
6:
7:
8: # Nmake macros for building Windows 32-Bit applications
9:
10: !include <ntwin32.mak>
11:
12: proj = WORLD
13:
14: all: $(proj).exe
15:
16: # Update the resource if necessary
17:
18: $(proj).rbj: $(proj).rc $(proj).h $(proj).dlg
19: rc -r -fo $(proj).res $(cvars) $(proj).rc
20: cvtres -$(CPU) $(proj).res -o $(proj).rbj
21:
22: # Update the object file if necessary
23:
24: $(proj).obj: $(proj).c
25: $(cc) $(cdebug) $(cflags) $(cvars) $(proj).c
26:
27: # Update the executable file if necessary, and if so, add the resource
28: # back in
29:
30: $(proj).exe: $(proj).obj $(proj).rbj $(proj).def
31: $(link) $(linkdebug) $(guiflags) $(proj).obj $(proj).rbj \
32: $(guilibs) -out:$(proj).exe
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.