forked from Mirrors/tinycc
version change and window fixes
parent
6e2d1a809a
commit
dbb999f8bd
9
Makefile
9
Makefile
|
@ -11,7 +11,7 @@ LIBS_P=
|
||||||
CFLAGS+=-m386 -malign-functions=0
|
CFLAGS+=-m386 -malign-functions=0
|
||||||
DISAS=objdump -d
|
DISAS=objdump -d
|
||||||
INSTALL=install
|
INSTALL=install
|
||||||
VERSION=0.9.3
|
VERSION=0.9.4
|
||||||
|
|
||||||
all: tcc
|
all: tcc
|
||||||
|
|
||||||
|
@ -94,6 +94,13 @@ clean:
|
||||||
rm -f *~ *.o tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \
|
rm -f *~ *.o tcc tcc1 tcct tcc_g tcctest.ref *.bin *.i ex2 \
|
||||||
core gmon.out test.out test.ref a.out tcc_p
|
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
|
# profiling version
|
||||||
tcc_p: tcc.c Makefile
|
tcc_p: tcc.c Makefile
|
||||||
gcc $(CFLAGS_P) -o $@ $< $(LIBS_P)
|
gcc $(CFLAGS_P) -o $@ $< $(LIBS_P)
|
||||||
|
|
Loading…
Reference in New Issue