|
|
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: midimon.exe callback.dll
8:
9: # Update the object files if necessary
10:
11: prefer.obj: prefer.c prefer.h
12: $(cc) $(cflags) $(cvars) $(cdebug) prefer.c
13:
14: instdata.obj: instdata.c instdata.h
15: $(cc) $(cflags) $(cvars) $(cdebug) instdata.c
16:
17: filter.obj: filter.c filter.h
18: $(cc) $(cflags) $(cvars) $(cdebug) filter.c
19:
20: display.obj: display.c display.h
21: $(cc) $(cflags) $(cvars) $(cdebug) display.c
22:
23: circbuf.obj: circbuf.c circbuf.h
24: $(cc) $(cflags) $(cvars) $(cdebug) circbuf.c
25:
26: about.obj: about.c about.h
27: $(cc) $(cflags) $(cvars) $(cdebug) about.c
28:
29: midimon.obj: midimon.c midimon.h
30: $(cc) $(cflags) $(cvars) $(cdebug) midimon.c
31:
32: callback.obj: callback.c
33: $(cc) $(cflags) $(cvarsdll) $(cdebug) callback.c
34:
35: # Update the resources if necessary
36:
37: midimon.res: midimon.rc midimon.h
1.1.1.2 ! root 38: $(rc) $(rcvars) -r midimon.rc
1.1 root 39:
40: midimon.rbj: midimon.res
41: cvtres -$(CPU) midimon.res -o midimon.rbj
42:
43: # Update the import library
44:
45: callback.lib: callback.obj callback.def
1.1.1.2 ! root 46: $(implib) -machine:$(CPU) \
1.1 root 47: -def:callback.def \
48: callback.obj \
49: -out:callback.lib
50:
51: # Update the dynamic link library
52:
53: callback.dll: callback.obj callback.def
54: $(link) $(linkdebug) \
55: -base:0x1C000000 \
56: -dll \
57: -out:callback.dll \
58: callback.exp callback.obj $(guilibsdll) $(my_lib)
59:
60:
61: # Update the executable file if necessary.
62: # If so, add the resource back in.
63:
64: midimon.exe: midimon.obj callback.lib midimon.rbj midimon.def about.obj circbuf.obj display.obj filter.obj instdata.obj prefer.obj
65: $(link) $(linkdebug) $(guiflags) -out:midimon.exe midimon.obj callback.lib midimon.rbj about.obj circbuf.obj display.obj filter.obj instdata.obj prefer.obj $(guilibs) $(my_lib)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.