|
|
1.1 ! root 1: # Nmake macros for building Windows 32-Bit apps ! 2: ! 3: !include <ntwin32.mak> ! 4: ! 5: all: cdtest.exe ! 6: ! 7: OBJS=cdtest.obj open.obj save.obj print.obj font.obj colors.obj find.obj replace.obj title.obj ! 8: ! 9: OTHERCLOPTS=-DWIN32_LEAN_AND_MEAN -nologo ! 10: OTHERRCOPTS=-DWIN32_LEAN_AND_MEAN ! 11: ! 12: ! 13: ! 14: # Update the resource if necessary ! 15: ! 16: cdtest.res: res.rc cdtest.h ! 17: $(rc) -r $(OTHERRCOPTS) -fo cdtest.tmp res.rc ! 18: $(cvtres) -$(CPU) cdtest.tmp -o cdtest.res ! 19: del cdtest.tmp ! 20: ! 21: ! 22: ! 23: # Update the object file if necessary ! 24: ! 25: cdtest.obj: cdtest.c cdtest.h ! 26: $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) cdtest.c ! 27: ! 28: open.obj: open.c open.h ! 29: $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) open.c ! 30: ! 31: save.obj: save.c save.h ! 32: $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) save.c ! 33: ! 34: print.obj: print.c print.h ! 35: $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) print.c ! 36: ! 37: font.obj: font.c font.h ! 38: $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) font.c ! 39: ! 40: colors.obj: colors.c colors.h ! 41: $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) colors.c ! 42: ! 43: find.obj: find.c find.h ! 44: $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) find.c ! 45: ! 46: replace.obj: replace.c replace.h ! 47: $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) replace.c ! 48: ! 49: title.obj: title.c title.h ! 50: $(cc) $(cdebug) $(cflags) $(cvars) $(OTHERCLOPTS) title.c ! 51: ! 52: ! 53: ! 54: # Update the executable file if necessary, and if so, add the resource back in. ! 55: ! 56: cdtest.exe: $(OBJS) cdtest.res ! 57: $(link) $(linkdebug) $(guiflags) -out:cdtest.exe $(OBJS) cdtest.res $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.