VPDF compiles and links but exits early after start.
[AROS-Contrib.git] / rexx / src / makefile.bc
bloba37a14684a04e26431d30f0872629a862c5ad629
1 # Top-level makefile for BREXX V2       (Borland-C)
3 # BREXX interpreter
4 # Version:  2.0
5 # Copyright (C) 1991-1998  Vassilis Vlachoudis (V.Vlachoudis@cern.ch)
7 # This interpreter is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 .AUTODEPEND
13 #               *Translator Definitions*
14 CC = bcc +REXX.CFG
15 ASM = tasm
16 TLIB = tlib
17 TLINK = tlink
18 STRIP = f:\debug\tdstrip
19 LIBPATH = F:\BC\LIB;C:\USR\LIB;LIB
20 INCPATH = F:\BC\INC;..\INC
22 # .path.obj = OBJ\
24 #               *Implicit Rules*
25 .c.obj:
26   $(CC) -c {$< }
28 .cpp.obj:
29   $(CC) -c {$< }
31 .cc.obj:
32   $(CC) -c {$< }
34 .a.obj:
35   $(TASM) /ml $<
37 #               *List Macros*
40 OBJS =  \
41  main.obj \
42  rexx.obj \
43  compile.obj \
44  template.obj \
45  expr.obj \
46  interpre.obj \
47  nextsymb.obj \
48  rexxfunc.obj \
49  builtin.obj \
50  rxstr.obj \
51  rxword.obj \
52  rxconv.obj \
53  rxfiles.obj \
54  rxmath.obj \
55  address.obj \
56  variable.obj \
57  trace.obj \
58  error.obj \
59  stack.obj \
60  dqueue.obj \
61  bintree.obj \
62  bmem.obj \
63  systemx.obj \
64  spawnx.obj \
65  int2e.obj 
67 #               *Explicit Rules*
68 ..\bin\rexx.exe: rexx.cfg $(OBJS)
69   $(TLINK) /v/x/c/P-/Vt/L$(LIBPATH) @&&|
70 c0l.obj+
71 main.obj+
72 rexx.obj+
73 compile.obj+
74 template.obj+
75 expr.obj+
76 interpre.obj+
77 nextsymb.obj+
78 rexxfunc.obj+
79 builtin.obj+
80 rxstr.obj+
81 rxword.obj+
82 rxconv.obj+
83 rxfiles.obj+
84 rxmath.obj+
85 address.obj+
86 variable.obj+
87 trace.obj+
88 error.obj+
89 stack.obj+
90 bintree.obj+
91 dqueue.obj+
92 bmem.obj+
93 systemx.obj+
94 spawnx.obj+
95 int2e.obj
96 ..\bin\rexx
97                 # no map file
98 ..\lib\lstr.lib+
99 fp87.lib+
100 mathl.lib+
101 cl.lib
103 #(STRIP) %@
105 clean:
106         del rexx.exe obj\*.obj *.sym
108 # ****** Individual file dependencies ******
109 int2e.obj: int2e.a
110         $(ASM) /ml int2e.a
112 spawnx.obj: spawnx.a
113         $(ASM) /ml spawnx.a
115 #               *Compiler Configuration File*
116 !if $d(__DEBUG__)
118 ## Debug version 
119 rexx.cfg: makefile.bc
120   copy &&|
126 -vi-
127 -wbbf
128 -wpin
129 -wamb
130 -wamp
131 -wasm
132 -wpro
133 -wcln
134 -wdef
135 -wsig
136 -wnod
137 -wstv
138 -wucp
139 -wuse
140 -weas
141 -wpre
142 -I$(INCPATH)
143 -L$(LIBPATH)
144 -H=rexx.sym
145 -DMSDOS=1;__DEBUG__=1;__GREEK__;RMLAST
146 | rexx.cfg
148 !else 
150 ## Optimasation version 
152 !if $d(__8086__)
153 ## Create a 8086 version
154 rexx.cfg: makefile.bc
155   copy &&|
156 -P-c
162 -vi-
163 -wbbf
164 -wpin
165 -wamb
166 -wamp
167 -wasm
168 -wpro
169 -wcln
170 -wdef
171 -wsig
172 -wnod
173 -wstv
174 -wucp
175 -wuse
176 -weas
177 -wpre
178 -I$(INCPATH)
179 -L$(LIBPATH)
180 -H=rexx.sym
181 -DMSDOS=1;RMLAST;__GREEK__
182 | rexx.cfg
184 !else
186 # if we want to use the FPU
187 #-ff
188 #-f287
190 rexx.cfg: makefile.bc
191   copy &&|
199 -vi-
200 -wbbf
201 -wpin
202 -wamb
203 -wamp
204 -wasm
205 -wpro
206 -wcln
207 -wdef
208 -wsig
209 -wnod
210 -wstv
211 -wucp
212 -wuse
213 -weas
214 -wpre
215 -I$(INCPATH)
216 -L$(LIBPATH)
217 -H=rexx.sym
218 -DMSDOS=1;RMLAST;__GREEK__
219 | rexx.cfg
220 !endif
222 !endif