|
|
1.1 root 1: # some NT Win32 nmake macros
2: # for now this resides in samples\inc
3:
4: !include <ntwin32.mak>
5:
6: cvars=-DNT -DWIN -DWIN32
7: obj=obj
8: mycflag = -Fo.\$(obj)\\
9:
10: all: zoomin.exe
11:
12: # Update the object file if necessary
13:
14: $(obj)\zoomin.obj: zoomin.c zoomin.h
15: IF NOT EXIST $(obj) md obj
16: $(cc) $(cdebug) $(cflags) $(mycflag) $(cvars) zoomin.c
17:
18: # Update the resources if necessary
19:
20: $(obj)\zoomin.rbj: zoomin.rc zoomin.h
21: rc -r -fo .\$(obj)\zoomin.res zoomin.rc
22: cvtres -$(CPU) $(obj)\zoomin.res -o $(obj)\zoomin.rbj
23:
24: # Update the executable file if necessary, and if so, add the resource back in.
25:
26: zoomin.exe: $(obj)\zoomin.obj \
27: $(obj)\zoomin.rbj
28: $(link) $(linkdebug) $(guiflags) -out:zoomin.exe \
29: $(obj)\zoomin.obj \
30: $(obj)\zoomin.rbj $(guilibs) shell32.lib
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.