|
|
1.1 ! root 1: # Some nmake macros for Win32 apps development ! 2: ! 3: !include <ntwin32.mak> ! 4: ! 5: # application specific C defines ! 6: ! 7: cf = -DNT -DWIN -DNOT_IMPLEMENTED ! 8: ! 9: # This line allows NMAKE to work as well ! 10: ! 11: all: gdidemo.exe ! 12: ! 13: # Update the object file if necessary ! 14: ! 15: gdidemo.obj: gdidemo.c draw.h gdidemo.h maze.h poly.h xform.h ! 16: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) gdidemo.c ! 17: ! 18: init.obj: init.c draw.h gdidemo.h maze.h poly.h xform.h ! 19: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) init.c ! 20: ! 21: dialog.obj: dialog.c gdidemo.h ! 22: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) dialog.c ! 23: ! 24: wininfo.obj: wininfo.c gdidemo.h ! 25: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) wininfo.c ! 26: ! 27: poly.obj: poly.c gdidemo.h poly.h ! 28: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) poly.c ! 29: ! 30: xform.obj: xform.c gdidemo.h xform.h ! 31: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) xform.c ! 32: ! 33: maze.obj: maze.c gdidemo.h maze.h ! 34: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) maze.c ! 35: ! 36: draw.obj: draw.c draw.h gdidemo.h ! 37: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) draw.c ! 38: ! 39: bounce.obj: bounce.c bounce.h gdidemo.h ! 40: $(cc) $(cflags) $(cvars) $(cdebug) $(cf) bounce.c ! 41: ! 42: # Update the resources if necessary ! 43: ! 44: gdidemo.res: gdidemo.rc gdidemo.h ! 45: rc -r gdidemo.rc ! 46: ! 47: gdidemo.rbj: gdidemo.res ! 48: cvtres -$(CPU) gdidemo.res -o gdidemo.rbj ! 49: ! 50: # Update the executable file if necessary, and if so, add the resource back in. ! 51: ! 52: gdidemo.exe: gdidemo.obj init.obj bounce.obj dialog.obj wininfo.obj \ ! 53: poly.obj xform.obj maze.obj draw.obj gdidemo.rbj gdidemo.def ! 54: $(cvtobj) $(cvtdebug) *.obj ! 55: $(link) $(linkdebug) $(guiflags) -out:gdidemo.exe \ ! 56: gdidemo.obj bounce.obj init.obj dialog.obj wininfo.obj poly.obj \ ! 57: xform.obj maze.obj draw.obj gdidemo.rbj $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.