|
|
1.1 root 1: OBJS = globals.obj netwatch.obj bitmap.obj net.obj utils.obj datetime.obj
2:
3: # Nmake macros for building Windows 32-Bit apps
4:
5: !include <ntwin32.mak>
6:
7: all: netwatch.exe
8:
9: # Update the resource if necessary
10:
11: netwatch.res: netwatch.rc netwatch.h
12: rc -d WIN32 -r -fo netwatch.res netwatch.rc
13:
14: netwatch.rbj: netwatch.res
15: cvtres -$(CPU) netwatch.res -o netwatch.rbj
16:
17: # Update the object file if necessary
18:
19: globals.obj: globals.c netwatch.h
20: $(cc) $(cflags) $(cvars) $(cdebug) globals.c
21:
22: netwatch.obj: netwatch.c netwatch.h
23: $(cc) $(cflags) $(cvars) $(cdebug) netwatch.c
24:
25: utils.obj: utils.c netwatch.h
26: $(cc) $(cflags) $(cvars) $(cdebug) utils.c
27:
28: bitmap.obj: bitmap.c netwatch.h
29: $(cc) $(cflags) $(cvars) $(cdebug) bitmap.c
30:
31: net.obj: net.c netwatch.h
32: $(cc) $(cflags) $(cvars) $(cdebug) net.c
33:
34: datetime.obj: datetime.c
35: $(cc) $(cflags) $(cvars) $(cdebug) datetime.c
36:
37: # Update the executable file if necessary, and if so, add the resource back in.
38:
39: NetWatch.exe: $(OBJS) netwatch.rbj
40: $(link) $(linkdebug) $(guiflags) /OUT:$*.exe $(OBJS) \
41: netwatch.rbj netapi32.lib advapi32.lib shell32.lib $(guilibs) \
42: /MAP:$*.map
43:
44: clean:
45: if exist *.obj del *.obj > nul
46: if exist *.res del *.res > nul
47: if exist *.exe del *.exe > nul
48: if exist *.map del *.map > nul
49: if exist *.sym del *.sym > nul
50: if exist *.rbj del *.rbj > nul
51: if exist *.sbr del *.sbr > nul
52: if exist *.bsc del *.bsc > nul
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.