|
|
1.1 root 1: proj = DDESPY
2: SRCS = DDESPY.C LISTS.C TESTSUBS.C
3:
4: #set nodebug=1 to omit debug information from build
5:
6: !include <ntwin32.mak>
7:
8: all: $(proj).exe
9:
10: #create resource binaries
11: $(proj).res: $(proj).rc $(proj).dlg $*.h
12: $(rc) $(rcvars) -r -fo $(proj).res $(cvars) $(proj).rc
1.1.1.2 ! root 13:
! 14: $(proj).rbj: $(proj).res
1.1 root 15: cvtres -$(CPU) $(proj).res -o $(proj).rbj
16:
17: # Update the object file if necessary
18: .c.obj:
19: $(cc) $(cflags) $(cvars) $(cdebug) $*.c
20:
1.1.1.2 ! root 21: $(proj).exe: $(SRCS:.C=.OBJ) $(proj).rbj
1.1 root 22: $(link) $(linkdebug) $(guiflags) $(SRCS:.C=.OBJ) $(guilibs) $(proj).rbj -out:$(proj).exe
23:
24: clean:
1.1.1.2 ! root 25: del *.obj
! 26: del *.exe
! 27: del *.map
! 28: del *.res
! 29: del *.rbj
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.