Overview
Comment:Removed cruft from Makefile (pre -cc code).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 7a5baa6e156c20deadb91abd2cc80cc8465ccd0847013173cd4e2718f984c63a
User & Date: geraint@users.sourceforge.net on 2002-04-27 10:10:43
Other Links: branch diff | manifest | tags
Context
2002-04-27
11:07:17
Fixed [ 549265 ] make install-doc fails (cp mtt_toc.html)
Replaced "mtt.html mtt_toc.html" with "mtt*html".
This works regardless of local texi2html options.
check-in: 521e48d2ff user: geraint@users.sourceforge.net tags: origin/master, trunk
10:10:43
Removed cruft from Makefile (pre -cc code). check-in: 7a5baa6e15 user: geraint@users.sourceforge.net tags: origin/master, trunk
09:27:18
Removed obsolete file struc2gnuplot_txt.cc.
trans/struc2gnuplot_txt2wish does a similar job much better.
check-in: 497d318d0a user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/cc/Makefile from [fef01bbbdc] to [943d4cbedc].

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
1



2
3




4


5






6
7
8

9

10


11








12





















-
-
-
+

-
-
-
-
+
-
-

-
-
-
-
-
-
+
+
+
-

-
+
-
-
+
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

.POSIX:

CC=g++
CXX ?= g++

ifeq (0,1)
CFLAGS+=-static
OCTAVE_LIBRARIES=-loctave -lcruft -lm -lncurses -ldl -lstdc++ -lc -lkpathsea -lreadline -lg2c

build: parse_m2cc.exe
%.exe: %.cc
	$(CC) $< $(CFLAGS) $(OCTAVE_LIBRARIES) -o $@

%.oct: %.cc
	mkoctfile $<
endif



.PHONY: FORCE
clean: FORCE
	@-rm -f parse_m2cc.exe
all:	$(sys)_$(rep).cc

parser.exe: parse_m2cc.cc
parse_m2cc.exe: parse_m2cc.cc
	g++ $< $(CFLAGS) -o ${MTTPATH}/trans/parser.exe -I${MTTPATH}/../cc/include

	@$(CXX) $< $(CFLAGS) -o $@ -I./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
endif

	@strip $@
$(sys)_def.h: $(sys)_def.m $(sys)_sympar.txt
	def_m2h.sh $(sys)

$(sys)_sympar.h: $(sys)_sympar.txt
	sympar_txt2h.sh $(sys)

$(sys)_def.m:
	mtt $(sys) def m

# getsize needs def.r
$(sys)_def.r:
	mtt $(sys) def r

$(sys)_sympar.txt:
	mtt $(sys) sympar txt


# struc2gnuplot_txt.exe is used by gnuplot_rep.make to create gnuplot input file.
struc2gnuplot_txt.exe: $(MTT_CC)/struc2gnuplot_txt.cc
	$(CC) -O3 -Wall -ansi -pedantic -DMAIN $(MTT_CC)/struc2gnuplot_txt.cc -o $(MTTPATH)/trans/struc2gnuplot_txt.exe 


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]