From dbb999f8bd4710215fe39ea2786f90b62803dd4a Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 26 Jan 2002 18:06:03 +0000 Subject: [PATCH] version change and window fixes --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8313d26..95ff340 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ LIBS_P= CFLAGS+=-m386 -malign-functions=0 DISAS=objdump -d INSTALL=install -VERSION=0.9.3 +VERSION=0.9.4 all: tcc @@ -94,6 +94,13 @@ 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 +tcc_g.exe: tcc.c i386-gen.c bcheck.c Makefile + i386-mingw32msvc-gcc $(CFLAGS) -DCONFIG_TCC_STATIC -o $@ $< + +tcc.exe: tcc_g.exe + i386-mingw32msvc-strip -o $@ $< + # profiling version tcc_p: tcc.c Makefile gcc $(CFLAGS_P) -o $@ $< $(LIBS_P)