Unified · Split
| @@ -11,7 +11,7 @@ LIBS_P= · 10 unmodified lines | ||
| 11 | 11 | CFLAGS+=-m386 -malign-functions=0 |
| 12 | 12 | DISAS=objdump -d |
| 13 | 13 | INSTALL=install |
| 14 | −VERSION=0.9.3 | |
| 14 | +VERSION=0.9.4 | |
| 15 | 15 | |
| 16 | 16 | all: tcc |
| 17 | 17 | |
| @@ -94,6 +94,13 @@ clean: · 76 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 | |
| 98 | +tcc_g.exe: tcc.c i386-gen.c bcheck.c Makefile | |
| 99 | + i386-mingw32msvc-gcc $(CFLAGS) -DCONFIG_TCC_STATIC -o $@ $< | |
| 100 | + | |
| 101 | +tcc.exe: tcc_g.exe | |
| 102 | + i386-mingw32msvc-strip -o $@ $< | |
| 103 | + | |
| 97 | 104 | # profiling version |
| 98 | 105 | tcc_p: tcc.c Makefile |
| 99 | 106 | gcc $(CFLAGS_P) -o $@ $< $(LIBS_P) |