15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
-
-
+
+
|
mkoctfile $<
endif
all: $(sys)_$(rep).cc
parser: parse_m2cc.cc
g++ $< $(CFLAGS) -o ${MTTPATH}/trans/parser -I${MTTPATH}/../cc/include
parser.exe: parse_m2cc.cc
g++ $< $(CFLAGS) -o ${MTTPATH}/trans/parser.exe -I${MTTPATH}/../cc/include
ifeq ($(rep),ode2odes)
$(sys)_ode2odes.cc: ode2odes.cc
cat ode2odes.cc | sed 's/\$$/$(sys)/' > $(sys)_ode2odes.cc
else
$(sys)_$(rep).cc: $(sys)_def.h $(sys)_sympar.h $(sys)_def.r $(sys)_$(rep).m
mtt_m2cc.sh ${sys} ${rep} parser
|