]>
Commit | Line | Data |
---|---|---|
f6bcfd97 BP |
1 | # Common settings for Borland 32-bit compilation (makefile.b32 files) |
2 | ||
3 | LINK=ilink32 | |
4 | ||
5 | OPT = -O2 | |
6 | LDFLAGS = -lxncd -l-P | |
7 | CPPFLAGS = /I"..\incace" /DWIN32 | |
8 | LINKFLAGS=/aa -L$(BCCDIR)\lib\psdk | |
9 | ||
10 | DUMMY=dummy | |
11 | ||
12 | SRCSUFF = cpp | |
13 | OBJSUFF = obj | |
14 | ||
15 | TARGET = packinst | |
16 | OBJECTS = globals.obj uac_comm.obj uac_crc.obj uac_crt.obj uac_dcpr.obj uac_sys.obj unace.obj packinst.obj | |
17 | ||
18 | all: $(TARGET).exe | |
19 | ||
20 | packinst.exe: $(OBJECTS) | |
21 | bcc32 $(LDFLAGS) -epackinst.exe @&&| | |
22 | $(OBJECTS) | |
23 | | | |
24 | ||
25 | .$(SRCSUFF).obj: | |
26 | bcc32 $(CPPFLAGS) -c {$< } | |
27 | ||
28 | packinst.obj: ..\packinst\packinst.c | |
29 | bcc32 $(CPPFLAGS) -P- -c ..\packinst\packinst.c | |
30 | ||
31 | .c.obj: | |
32 | bcc32 $(CPPFLAGS) -P- -c {$< } | |
33 | ||
34 | clean: | |
35 | -erase *.obj | |
36 | -erase *.exe | |
37 | -erase *.res | |
38 | -erase *.map | |
39 | -erase *.rws | |
40 | -erase *.tds | |
41 | -erase *.il? |