-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile.bcc
More file actions
67 lines (46 loc) · 1.47 KB
/
Copy pathmakefile.bcc
File metadata and controls
67 lines (46 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# RC5DES Win32 Log Visualizer makefile (Borland C++ for Win32 x86)
# see http://www.distributed.net/
EXENAME = logvis.exe
OUTPUTPATH = output
LOGVIS = .
# define variable to existence to enable symbolic information.
#DEBUG=1
# --------------------------------------------
BCCOPTS = /a4 /Vv /x- /xd- /RT- /r /k- /d /w /O2 /O /OS \
/DMULTITHREAD /tWM
TLINKOPTS = /aa /x /Tpe /n /B:0x400000
GUI_LIBS = noeh32.lib cw32mt.lib import32.lib
# --------------------------------------------
!ifdef DEBUG
BCCOPTS = /v $(BCCOPTS)
TLINKOPTS = /v $(TLINKOPTS)
!else
BCCOPTS = $(BCCOPTS) /DNDEBUG
!endif
# --------------------------------------------
.path.cpp = $(LOGVIS)
.path.obj = $(OUTPUTPATH)
.path.res = $(OUTPUTPATH)
.path.rc = $(LOGVIS)
# --------------------------------------------
GUI_OBJS = \
$(OUTPUTPATH)/guiapp.obj \
$(OUTPUTPATH)/guigraph.obj \
$(OUTPUTPATH)/guiwind.obj \
$(OUTPUTPATH)/sliderrange.obj \
$(OUTPUTPATH)/guiconfig.obj
GUI_RES = $(OUTPUTPATH)/guiwin.res
# --------------------------------------------
.cpp.obj:
bcc32 -c @&&|
-P $(BCCOPTS) -n$(OUTPUTPATH)
| $<
.rc.res:
brcc32 -D_Windows -D_M_IX86 -D__BORLANDC__ -r -w32 -fo$@ $**
# --------------------------------------------
# Actual target
$(EXENAME): $(GUI_OBJS) $(GUI_RES)
tlink32 $(TLINKOPTS) @&&|
c0w32.obj $(GUI_OBJS:/=\),$(EXENAME:/=\),,$(GUI_LIBS),,$(GUI_RES:/=\)
|
# --------------------------------------------