aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 39c9dc3..c971b2a 100644
--- a/Makefile
+++ b/Makefile
@@ -9,11 +9,11 @@ LIBS=-ldl
CFLAGS_P=$(CFLAGS) -pg -static -DCONFIG_TCC_STATIC
LIBS_P=
-CFLAGS+=-m386 -malign-functions=0
+CFLAGS+=-m386 -malign-functions=0 -mpreferred-stack-boundary=2
CFLAGS+=-DCONFIG_TCC_PREFIX=\"$(prefix)\"
DISAS=objdump -d
INSTALL=install
-VERSION=0.9.14
+VERSION=0.9.15
# run local version of tcc with local libraries and includes
TCC=./tcc -B. -I.
@@ -164,6 +164,9 @@ libtcc.a: libtcc.o
libtcc_test: libtcc_test.c libtcc.a
gcc $(CFLAGS) -I. -o $@ $< -L. -ltcc -ldl
+libtest: libtcc_test
+ ./libtcc_test
+
# targets for development
%.bin: %.c tcc