|
|
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
1.1.1.2 ! root 12: $(rc) $(rcvars) -r mcitest.rc
1.1 root 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
1.1.1.2 ! root 20: $(cc) $(scall) $(cflags) $(cvars) $(cdebug) mcitest.c
1.1 root 21:
22: debug.obj: debug.c mcimain.h
1.1.1.2 ! root 23: $(cc) $(scall) $(cflags) $(cvars) $(cdebug) debug.c
1.1 root 24:
25: fileopen.obj: fileopen.c mcimain.h
1.1.1.2 ! root 26: $(cc) $(scall) $(cflags) $(cvars) $(cdebug) fileopen.c
1.1 root 27:
28: edit.obj: edit.c edit.h mcimain.h
1.1.1.2 ! root 29: $(cc) $(scall) $(cflags) $(cvars) $(cdebug) edit.c
1.1 root 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: $(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.