From 77db7175cad1dc04d6a4308ee2427c755437acfc Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 10 Feb 2002 16:15:22 +0000 Subject: [PATCH] added il target --- Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 95ff3403..36ac3b00 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ test3: tcc tcc.c tcctest.c test.ref # memory and bound check auto test BOUNDS_OK = 1 4 8 10 -BOUNDS_FAIL= 2 5 7 9 11 12 +BOUNDS_FAIL= 2 5 7 9 11 12 13 btest: boundtest.c tcc @for i in $(BOUNDS_OK); do \ @@ -76,7 +76,7 @@ ex2: ex2.c ex3: ex3.c gcc $(CFLAGS) -o $@ $< -# Tiny C Compiler +# Native Tiny C Compiler tcc_g: tcc.c i386-gen.c bcheck.c Makefile gcc $(CFLAGS) -o $@ $< $(LIBS) @@ -94,7 +94,15 @@ clean: rm -f *~ *.o tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \ core gmon.out test.out test.ref a.out tcc_p -# win32 version +# IL TCC + +iltcc_g: tcc.c il-gen.c bcheck.c Makefile + gcc $(CFLAGS) -DTCC_TARGET_IL -o $@ $< $(LIBS) + +iltcc: iltcc_g + strip -s -R .comment -R .note -o $@ $< + +# win32 TCC tcc_g.exe: tcc.c i386-gen.c bcheck.c Makefile i386-mingw32msvc-gcc $(CFLAGS) -DCONFIG_TCC_STATIC -o $@ $< -- 2.11.4.GIT