|
|
1.1 root 1: # Nmake macros for building Windows 32-Bit apps
2:
3: !include <ntwin32.mak>
4:
5: all: menus.exe
6:
7: # Update the resource if necessary
8:
1.1.1.2 ! root 9: menus.res: menus.rc menus.h logo.bmp tool1.bmp tool2.bmp tool3.bmp tool4.bmp tool5.bmp tool6.bmp
! 10: rc -r -fo menus.tmp menus.rc
! 11: cvtres -$(CPU) menus.tmp -o menus.res
! 12: del menus.tmp
1.1 root 13:
14: # Update the object file if necessary
15:
16: menus.obj: menus.c menus.h
1.1.1.2 ! root 17: $(cc) $(cdebug) $(cflags) $(cvars) menus.c
1.1 root 18:
19: # Update the executable file if necessary, and if so, add the resource back in.
20:
1.1.1.2 ! root 21: menus.exe: menus.obj menus.res
! 22: $(cvtobj) $(cvtdebug) *.obj
! 23: $(link) $(linkdebug) $(guiflags) -out:menus.exe menus.obj menus.res $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.