|
|
1.1 root 1: # Nmake macros for building Windows 32-Bit apps
2:
3: !include <ntwin32.mak>
4:
5: cflags=$(cflags) -DDEVL=1
6:
7: # This line allows NMAKE to work as well
8:
9: all: filer.exe
10:
11: # Update the resource if necessary
12:
13: res.res: res.rc filer.h globals.h *.bmp filer.ico
14: rc -r -fo res.tmp res.rc
15: cvtres -$(CPU) res.tmp -o res.res
16: del res.tmp
17:
18: # Update the object files if necessary
19:
20: enumdrv.obj: enumdrv.c enumdrv.h globals.h
21: $(cc) $(cflags) $(cvars) enumdrv.c
22:
23: walk.obj: walk.c walk.h globals.h
24: $(cc) $(cflags) $(cvars) walk.c
25:
26: drvproc.obj: drvproc.c globals.h
27: $(cc) $(cflags) $(cvars) drvproc.c
28:
29: filer.obj: filer.c filer.h enumdrv.h globals.h
30: $(cc) $(cflags) $(cvars) filer.c
31:
32: # Update the executable file if necessary, and if so, add the resource back in.
33:
34: filer.exe: filer.obj enumdrv.obj walk.obj drvproc.obj res.res
35: $(cvtobj) $(cvtdebug) *.obj
36: $(link) $(guiflags) -out:filer.exe filer.obj enumdrv.obj walk.obj drvproc.obj res.res $(guilibs)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.