aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbellard <bellard>2002-01-26 18:06:03 +0000
committerbellard <bellard>2002-01-26 18:06:03 +0000
commitdbb999f8bd4710215fe39ea2786f90b62803dd4a (patch)
tree8f1a603e0471d213c9319ada2a9d389976d0e8c9 /Makefile
parent6e2d1a809aea96fd62def3676a7ddacf04eb4352 (diff)
downloadtinycc-dbb999f8bd4710215fe39ea2786f90b62803dd4a.tar.gz
tinycc-dbb999f8bd4710215fe39ea2786f90b62803dd4a.tar.bz2
version change and window fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
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)