History

added il target

bellard committed 24 years ago

Commit 77db7171 parent e5de65f1 file · +11 −3Browse files

Unified · Split

Makefile+11−3
@@ -44,7 +44,7 @@ test3: tcc tcc.c tcctest.c test.ref · 43 unmodified lines
44 44
45# memory and bound check auto test45# memory and bound check auto test
46BOUNDS_OK = 1 4 8 1046BOUNDS_OK = 1 4 8 10
47BOUNDS_FAIL= 2 5 7 9 11 1247BOUNDS_FAIL= 2 5 7 9 11 12 13
48 48
49btest: boundtest.c tcc49btest: boundtest.c tcc
50 @for i in $(BOUNDS_OK); do \50 @for i in $(BOUNDS_OK); do \
@@ -76,7 +76,7 @@ ex2: ex2.c · 25 unmodified lines
76ex3: ex3.c76ex3: ex3.c
77 gcc $(CFLAGS) -o $@ $<77 gcc $(CFLAGS) -o $@ $<
78 78
79# Tiny C Compiler79# Native Tiny C Compiler
80 80
81tcc_g: tcc.c i386-gen.c bcheck.c Makefile81tcc_g: tcc.c i386-gen.c bcheck.c Makefile
82 gcc $(CFLAGS) -o $@ $< $(LIBS)82 gcc $(CFLAGS) -o $@ $< $(LIBS)
@@ -94,7 +94,15 @@ clean: · 11 unmodified lines
94 rm -f *~ *.o tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \94 rm -f *~ *.o tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \
95 core gmon.out test.out test.ref a.out tcc_p95 core gmon.out test.out test.ref a.out tcc_p
96 96
97# win32 version97# IL TCC
98
99iltcc_g: tcc.c il-gen.c bcheck.c Makefile
100 gcc $(CFLAGS) -DTCC_TARGET_IL -o $@ $< $(LIBS)
101
102iltcc: iltcc_g
103 strip -s -R .comment -R .note -o $@ $<
104
105# win32 TCC
98tcc_g.exe: tcc.c i386-gen.c bcheck.c Makefile106tcc_g.exe: tcc.c i386-gen.c bcheck.c Makefile
99 i386-mingw32msvc-gcc $(CFLAGS) -DCONFIG_TCC_STATIC -o $@ $<107 i386-mingw32msvc-gcc $(CFLAGS) -DCONFIG_TCC_STATIC -o $@ $<
100 108

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t