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