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: 02f75934ccf57526368f0cc251bdbb4ccd2a25959f462436385347f5cef8ac1f
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: 96502b63ae user: geraint@users.sourceforge.net tags: origin/master, trunk
10:10:43
Removed cruft from Makefile (pre -cc code). check-in: 02f75934cc 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: 0f30a7073b 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

.POSIX:

CC=g++

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

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

%.oct: %.cc
	mkoctfile $<
endif



all:	$(sys)_$(rep).cc

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
endif

$(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 

<
<
|

<
<
<
|
<
<

<
<
<
|
|
|
<

|
<
|
<
<
<
<
<
<
<
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
1


2
3



4


5



6
7
8

9
10

11







12























CXX ?= g++




build: parse_m2cc.exe






.PHONY: FORCE
clean: FORCE
	@-rm -f parse_m2cc.exe


parse_m2cc.exe: parse_m2cc.cc

	@$(CXX) $< $(CFLAGS) -o $@ -I./include







	@strip $@





















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