|
|
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 ! 38: rc -r midimon.rc ! 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 ! 46: $(cvtobj) $(cvtdebug) callback.obj ! 47: lib -machine:$(CPU) \ ! 48: -def:callback.def \ ! 49: callback.obj \ ! 50: -out:callback.lib ! 51: ! 52: # Update the dynamic link library ! 53: ! 54: callback.dll: callback.obj callback.def ! 55: $(cvtobj) $(cvtdebug) *.obj ! 56: $(link) $(linkdebug) \ ! 57: -base:0x1C000000 \ ! 58: -dll \ ! 59: -out:callback.dll \ ! 60: callback.exp callback.obj $(guilibsdll) $(my_lib) ! 61: ! 62: ! 63: # Update the executable file if necessary. ! 64: # If so, add the resource back in. ! 65: ! 66: midimon.exe: midimon.obj callback.lib midimon.rbj midimon.def about.obj circbuf.obj display.obj filter.obj instdata.obj prefer.obj ! 67: $(cvtobj) $(cvtdebug) *.obj ! 68: $(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.