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