|
|
1.1 ! root 1: # Some nmake macros for Win32 apps development ! 2: ! 3: !include <ntwin32.mak> ! 4: ! 5: ! 6: ! 7: ! 8: # application specific C defines ! 9: ! 10: cf = -DUNICODE ! 11: ! 12: ! 13: ! 14: ! 15: # make the executable ! 16: ! 17: all: pviewer.exe ! 18: ! 19: ! 20: ! 21: ! 22: # Update the object file ! 23: ! 24: pviewer.obj: pviewer.c perfdata.h pviewdat.h pviewdlg.h ! 25: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) pviewer.c ! 26: ! 27: pviewdat.obj: pviewdat.c perfdata.h pviewdat.h pviewdlg.h ! 28: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) pviewdat.c ! 29: ! 30: perfdata.obj: perfdata.c perfdata.h ! 31: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) perfdata.c ! 32: ! 33: objdata.obj: objdata.c perfdata.h ! 34: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) objdata.c ! 35: ! 36: instdata.obj: instdata.c perfdata.h ! 37: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) instdata.c ! 38: ! 39: cntrdata.obj: cntrdata.c perfdata.h ! 40: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) cntrdata.c ! 41: ! 42: ! 43: ! 44: ! 45: # Update the resources ! 46: ! 47: pview.res: pview.rc pviewdlg.h pviewdlg.dlg ! 48: rc -r pview.rc ! 49: ! 50: pview.rbj: pview.res ! 51: cvtres -$(CPU) pview.res -o pview.rbj ! 52: ! 53: ! 54: ! 55: ! 56: # Update the executable file, add the resource in. ! 57: ! 58: pviewer.exe: pviewer.obj \ ! 59: pviewdat.obj \ ! 60: perfdata.obj \ ! 61: objdata.obj \ ! 62: instdata.obj \ ! 63: cntrdata.obj \ ! 64: pview.rbj ! 65: $(cvtobj) $(cvtdebug) *.obj ! 66: $(link) $(linkdebug) $(guiflags) -out:pviewer.exe \ ! 67: pviewer.obj \ ! 68: pviewdat.obj \ ! 69: perfdata.obj \ ! 70: objdata.obj \ ! 71: instdata.obj \ ! 72: cntrdata.obj \ ! 73: pview.rbj \ ! 74: $(guilibs) \ ! 75: advapi32.lib
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.