annotate Makefile.linuxzaurus @ 751:c921670e2ce8

i64 continue... 64bit register
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 14 Nov 2010 04:56:02 +0900
parents ac1285a0f69f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
1 CC = gcc
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
2 # -O3
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
3 # CFLAGS = -g -Wall -I.
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
4 # CFLAGS = -g -Wall -I. -pg -fprofile-arcs -ftest-coverage
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
5 # LDFLAGS = -pg
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
6 # for Linux Zaurus
620
0e7281ec9007 *** empty log message ***
kono
parents: 604
diff changeset
7 CFLAGS = -fsigned-char -pipe -g -I. -I/home/zaurus/develop/include -DUSE_CODE_KEYWORD
644
ac1285a0f69f *** empty log message ***
kono
parents: 640
diff changeset
8 CFLAGS1 = -g -pipe -I. -fsigned-char -DUSE_CODE_KEYWORD
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
9 BASE=0
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
10 STAGE=1
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
11 MFLAGS=$(MFALGS) BASE=$(BASE) STAGE=$(STAGE)
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
12 ARCH=arm
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
13 MC=mc-$(ARCH)
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
14 MLIB = -lm
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
15 PRINTF= # printf.c
599
df04bc5fd5fe *** empty log message ***
kono
parents: 590
diff changeset
16 CONVERTER=conv/c.o conv/null.o conv/c2cbc.o conv/cbc2c.o
476
034436187add *** empty log message ***
kono
parents: 450
diff changeset
17 COMPLIB = mc-parse.o mc-codegen.o mc-switch.o mc-macro.o mc-tree.o mc-inline.o
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
18 # CODE=mc-code-ia32.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
19 CODE=mc-code-$(ARCH).c
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
20 #
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
21 TARGET=test/simp
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
22
620
0e7281ec9007 *** empty log message ***
kono
parents: 604
diff changeset
23 all: mc
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
24
620
0e7281ec9007 *** empty log message ***
kono
parents: 604
diff changeset
25 mc: mc-include.c mc-$(ARCH)
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
26 cp mc-$(ARCH) mc
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
27
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
28 TAGS:
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
29 ctags mc-code-powerpc.c mc-code.h mc-codegen.c mc-codegen.h \
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
30 mc-macro.c \
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
31 mc-parse.c mc-tree.c mc-switch.c mc-switch.h \
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
32 mc.h conv/c.c conv/c.h \
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
33 mc-inline.h mc-inline.c \
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
34 conv/conv.h conv/convdef.h conv/null.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
35
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
36 mc-powerpc : mc-code-powerpc.o $(COMPLIB) $(CONVERTER)
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
37 $(CC) $(LDFLAGS) -g mc-code-powerpc.o $(COMPLIB) $(CONVERTER) -o $@
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
38
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
39 mc-ia32 : mc-code-ia32.o $(COMPLIB) $(CONVERTER)
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
40 $(CC) $(LDFLAGS) -g mc-code-ia32.o $(COMPLIB) $(CONVERTER) -o $@
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
41
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
42 mc-mips : mc-code-mips.o $(COMPLIB) $(CONVERTER)
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
43 $(CC) $(LDFLAGS) -g mc-code-mips.o $(COMPLIB) $(CONVERTER) -o $@
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
44
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
45 mc-arm : mc-code-arm.o $(COMPLIB) $(CONVERTER)
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
46 $(CC) $(LDFLAGS) -g mc-code-arm.o $(COMPLIB) $(CONVERTER) -o $@
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
47
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
48 conv/conv.h: conv_func.tbl tools/conv_func.pl
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
49 perl tools/conv_func.pl
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
50 conv/convdef.h: conv_func.tbl tools/conv_func.pl
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
51 perl tools/conv_func.pl
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
52 conv/null.c: conv_func.tbl tools/conv_func.pl
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
53 perl tools/conv_func.pl
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
54
620
0e7281ec9007 *** empty log message ***
kono
parents: 604
diff changeset
55 mc-include.c:
0e7281ec9007 *** empty log message ***
kono
parents: 604
diff changeset
56 perl tools/find-gcc-include-path -l $(CC) > mc-include.c
0e7281ec9007 *** empty log message ***
kono
parents: 604
diff changeset
57
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
58 mc.h-new:
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
59 perl tools/mc-h-renum.pl mc.h > mc.h.1
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
60 mv mc.h.1 mc.h
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
61
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
62 check-all: check-all-c check-all-code
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
63
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
64 check-all-c:
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
65 make check TARGET=test/basic
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
66 make check-inline TARGET=test/basic
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
67 make check TARGET=test/call
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
68 make check TARGET=test/fact0
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
69 make check TARGET=test/float
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
70 make check TARGET=test/ifdef
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
71 make check TARGET=test/int
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
72 make check TARGET=test/macro
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
73 make check TARGET=test/regargs
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
74 make check TARGET=test/short
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
75 make check TARGET=test/simp
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
76 make check TARGET=test/simp0
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
77 make check TARGET=test/simp1
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
78 make check TARGET=test/static
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
79 make check TARGET=test/tmp
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
80 make check TARGET=test/tmp10
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
81 make check TARGET=test/tmp11
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
82 make check TARGET=test/tmp12
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
83 make check TARGET=test/tmp5
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
84 make check TARGET=test/tmp7
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
85 make check TARGET=test/tmp8
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
86 make check TARGET=test/tmp9
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
87 make check TARGET=test/enum
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
88 make check TARGET=test/obsf
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
89 make check TARGET=test/obsf2
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
90 make check TARGET=test/long
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
91 make check TARGET=test/tstdarg
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
92 make check TARGET=test/switch
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
93 make check TARGET=test/strinit
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
94 make check TARGET=test/code-gen-all
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
95 make check-inline TARGET=test/code-gen-all
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
96 make check TARGET=test/bitfield
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
97 make check TARGET=test/bitfield1
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
98 make check-inline TARGET=test/bitfield1
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
99 make check TARGET=test/cext
444
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
100 make check TARGET=test/const
8bec605d1701 small sized struct
kono
parents: 417
diff changeset
101 make check TARGET=test/void_code
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
102 make check TARGET=test/putenemy
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
103 make check TARGET=test/inline
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
104 make check TARGET=test/offset
640
04211a2cf227 *** empty log message ***
kono
parents: 620
diff changeset
105 make check TARGET=test/ps2
04211a2cf227 *** empty log message ***
kono
parents: 620
diff changeset
106 make check TARGET=test/multi
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
107 # make check TARGET=test/scope STDFLAG="-std=gnu99"
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
108 # make check-inline TARGET=test/scope STDFLAG="-std=gnu99"
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
109 #MK =-make
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
110 MK=
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
111 check-all-code:
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
112 make check-code$(MK) TARGET=test/arg
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
113 make check-code$(MK) TARGET=test/conv
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
114 make check-code$(MK) TARGET=test/conv1
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
115 make check-code$(MK) TARGET=test/fact-a
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
116 make check-code$(MK) TARGET=test/fact
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
117 make check-code$(MK) TARGET=test/goto
450
eaf9e2746c83 parallel assign for simple expr. (too complex solution)
kono
parents: 446
diff changeset
118 make check-code$(MK) TARGET=test/test1
604
ff033b46cac5 *** empty log message ***
kono
parents: 602
diff changeset
119 make check-code$(MK) TARGET=test/test2
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
120 make check-code$(MK) TARGET=test/tmpa
450
eaf9e2746c83 parallel assign for simple expr. (too complex solution)
kono
parents: 446
diff changeset
121 make check-code$(MK) TARGET=test/tmp1
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
122 make check-code$(MK) TARGET=test/tmp2
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
123 make check-code$(MK) TARGET=test/tmp4
450
eaf9e2746c83 parallel assign for simple expr. (too complex solution)
kono
parents: 446
diff changeset
124 make check-code$(MK) TARGET=test/tmp6
590
cc2a83f98188 ia32 reorganization etc.
kono
parents: 581
diff changeset
125 make check-code$(MK) TARGET=test/tmpb
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
126 make check-code$(MK) TARGET=test/scope
581
ad9ef203f95b *** empty log message ***
kono
parents: 565
diff changeset
127 make check-code$(MK) TARGET=test/throw
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
128 make check-code$(MK) TARGET=test/too-long-argument
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
129
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
130 check-nkf:
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
131 ( cd nkf203; $(CC) -g -o nkf1 nkf.c utf8tbl.c )
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
132 ( cd nkf203; ../mc-$(ARCH) -s nkf.c utf8tbl.c )
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
133 ( cd nkf203; $(CC) -g -o nkf nkf.s utf8tbl.s )
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
134 ( cd nkf203; perl test.pl )
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
135
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
136 # -./$(MC) -Itest/ -s $(TARGET).c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
137
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
138 check: mc $(MC) $(TARGET).c
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
139 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB)
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
140 -./b.out > $(TARGET).gcc.out
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
141 -./$(MC) -s $(TARGET).c
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
142 -$(CC) $(TARGET).s $(MLIB)
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
143 -./a.out > $(TARGET).$(MC).out
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
144 -diff $(TARGET).gcc.out $(TARGET).$(MC).out
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
145
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
146 check-inline: mc $(MC) $(TARGET).c
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
147 -$(CC) $(CFLAGS1) $(STDFLAG) $(TARGET).c -o b.out $(MLIB)
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
148 -./b.out > $(TARGET).gcc.out
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
149 -./$(MC) -s -DINLINE=inline $(TARGET).c
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
150 -$(CC) $(TARGET).s $(MLIB)
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
151 -./a.out > $(TARGET).$(MC).out
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
152 -diff $(TARGET).gcc.out $(TARGET).$(MC).out
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
153
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
154 check-code: mc $(MC)
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
155 -./$(MC) -s $(TARGET).c
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
156 -$(CC) $(TARGET).s $(MLIB)
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
157 -./a.out > $(TARGET).$(MC).out
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
158 -diff $(TARGET).code-out $(TARGET).$(MC).out
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
159 check-code-make: mc $(MC)
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
160 -./$(MC) -s $(TARGET).c
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
161 -$(CC) $(TARGET).s $(MLIB)
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
162 -./a.out > $(TARGET).code-out
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
163
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
164 test/code-gen-all.c: test/code-gen.pl test/code-gen.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
165 perl test/code-gen.pl < test/code-gen.c > test/code-gen-all.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
166
565
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
167 incpri:
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
168 perl tools/incpri.pl test/*.c
dbe0b9ac9f53 *** empty log message ***
kono
parents: 477
diff changeset
169
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
170 tags: tags-$(ARCH)
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
171
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
172 tags-$(ARCH):
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
173 ctags mc.h mc-code.h mc-code-$(ARCH).c mc-codegen.c mc-codegen.h \
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
174 mc-parse.c mc-tree.c \
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
175 conv/c.c conv/c.h \
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
176 conv/conv.h conv/convdef.h
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
177
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
178 tar :
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
179 make clean
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
180 tar cBf - . | gzip > ../comp.tgz
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
181
620
0e7281ec9007 *** empty log message ***
kono
parents: 604
diff changeset
182 depend : mc-include.c
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
183 makedepend mc-code-ia32.c mc-code.h mc-codegen.c mc-codegen.h \
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
184 mc-parse.c mc-tree.c mc-switch.c mc-switch.h mc.h \
602
429ec87e03e7 *** empty log message ***
kono
parents: 599
diff changeset
185 mc-inline.c mc-macro.c mc-macro.h mc-parse.h \
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
186 conv/c.c conv/c.h conv/c2cbc.c conv/c2cbc.h conv/cbc2c.c \
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
187 conv/cbc2c.h conv/conv.h conv/convdef.h conv/null.c conv/null.h \
602
429ec87e03e7 *** empty log message ***
kono
parents: 599
diff changeset
188 mc-code-arm.c \
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
189 mc-code-powerpc.c \
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
190 mc-code-mips.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
191
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
192 clean :
644
ac1285a0f69f *** empty log message ***
kono
parents: 640
diff changeset
193 -rm -f mc mc-ia32 mc-powerpc mc-mips mc-arm *.bak *.s *.o *.cc mc mc1 mc2 a.out *~ core* */*.o *.bak test/*.s test/*.cc test/*.o test/*.bak test/*~ conv/*.s conv/*.cc conv/*.o conv/*.bak conv/*~ *.out */*.out *.i */*.i mc-include.h
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
194
476
034436187add *** empty log message ***
kono
parents: 450
diff changeset
195 mc1 : b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER)
034436187add *** empty log message ***
kono
parents: 450
diff changeset
196 $(CC) -g -o $@ $(PRINTF) b00.s b01.s mc-codegen.o mc-tree.o mc-switch.o mc-macro.o mc-inline.o $(CONVERTER)
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
197
476
034436187add *** empty log message ***
kono
parents: 450
diff changeset
198 mc2 : b00.s b01.s b02.s b03.s mc-macro.o mc-inline.o $(CONVERTER)
034436187add *** empty log message ***
kono
parents: 450
diff changeset
199 $(CC) -g -o $@ $(PRINTF) b00.s b01.s b02.s b03.s b04.s mc-macro.o mc-inline.o $(CONVERTER)
417
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
200
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
201 b00.s : mc-parse.c $(MC)
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
202 ./$(MC) -s -ob00.s mc-parse.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
203 b01.s : $(CODE) $(MC)
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
204 ./$(MC) -s -ob01.s $(CODE)
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
205 b02.s : mc-codegen.c $(MC)
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
206 ./$(MC) -s -ob02.s mc-codegen.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
207 b03.s : mc-tree.c $(MC)
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
208 ./$(MC) -s -ob03.s mc-tree.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
209 b04.s : mc-switch.c $(MC)
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
210 ./$(MC) -s -ob04.s mc-switch.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
211
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
212 b10.s : mc-parse.c mc1
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
213 ./mc1 -s -ob10.s mc-parse.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
214 b11.s : $(CODE) $(PRINTF) mc1
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
215 ./mc1 -s -ob11.s $(CODE)
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
216 b12.s : mc-codegen.c mc1
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
217 ./mc1 -s -ob12.s mc-codegen.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
218 b13.s : mc-tree.c mc1
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
219 ./mc1 -s -ob13.s mc-tree.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
220 b14.s : mc-switch.c mc1
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
221 ./mc1 -s -ob14.s mc-switch.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
222
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
223 b20.s : mc-parse.c mc2
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
224 ./mc2 -s -ob20.s mc-parse.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
225 b21.s : $(CODE) $(PRINTF) mc2
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
226 ./mc2 -s -ob21.s $(CODE)
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
227 b22.s : mc-codegen.c mc2
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
228 ./mc2 -s -ob22.s mc-codegen.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
229 b23.s : mc-tree.c mc2
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
230 ./mc2 -s -ob23.s mc-tree.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
231 b24.s : mc-switch.c mc1
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
232 ./mc2 -s -ob24.s mc-switch.c
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
233
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
234 diff : b00.s b01.s b02.s b03.s b04.s b10.s b11.s b12.s b13.s b14.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
235 -diff b00.s b10.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
236 -diff b01.s b11.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
237 -diff b02.s b12.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
238 -diff b03.s b13.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
239 -diff b04.s b14.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
240
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
241 diff2 : b00.s b01.s b02.s b03.s b04.s b20.s b21.s b22.s b23.s b24.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
242 -diff b00.s b20.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
243 -diff b01.s b21.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
244 -diff b02.s b22.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
245 -diff b03.s b23.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
246 -diff b04.s b24.s
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
247
98888da30b35 code jump fixes (not finished)
kono
parents:
diff changeset
248
446
6654aa80851b fix array pointer in decl_data and cast
kono
parents: 444
diff changeset
249 # DO NOT DELETE