|
|
1.1 root 1: # Nmake macros for building Windows 32-Bit apps
2:
3: !include <ntwin32.mak>
4:
1.1.1.2 ! root 5: my_lib = advapi32.lib olecli32.lib shell32.lib
1.1 root 6:
7: all: clidemo.exe
8:
9: # Update the resource if necessary
10:
11: clidemo.res: clidemo.rc
1.1.1.2 ! root 12: rc -r clidemo.rc
! 13:
! 14: clidemo.rbj: clidemo.res
! 15: cvtres -$(CPU) clidemo.res -o clidemo.rbj
1.1 root 16:
17: # Update the object file if necessary
18:
19: clidemo.obj: clidemo.c
1.1.1.2 ! root 20: $(cc) $(cflags) $(cvars) $(cdebug) clidemo.c
1.1 root 21:
22: dialog.obj: dialog.c
1.1.1.2 ! root 23: $(cc) $(cflags) $(cvars) $(cdebug) dialog.c
1.1 root 24:
25: object.obj: object.c
1.1.1.2 ! root 26: $(cc) $(cflags) $(cvars) $(cdebug) object.c
1.1 root 27:
28: register.obj: register.c
1.1.1.2 ! root 29: $(cc) $(cflags) $(cvars) $(cdebug) register.c
1.1 root 30:
31: stream.obj: stream.c
1.1.1.2 ! root 32: $(cc) $(cflags) $(cvars) $(cdebug) stream.c
1.1 root 33:
34: utility.obj: utility.c
1.1.1.2 ! root 35: $(cc) $(cflags) $(cvars) $(cdebug) utility.c
1.1 root 36:
37: # Update the executable file if necessary, and if so, add the resource back in.
38:
1.1.1.2 ! root 39: clidemo.exe: clidemo.obj dialog.obj object.obj register.obj stream.obj utility.obj clidemo.rbj clidemo.def
1.1 root 40: $(cvtobj) $(cvtdebug) *.obj
1.1.1.2 ! root 41: $(link) $(linkdebug) $(guiflags) -out:clidemo.exe clidemo.obj dialog.obj object.obj register.obj stream.obj utility.obj clidemo.rbj $(guilibs) $(my_lib)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.