From e31579b0769e1f9c0947d12e83316d1149307b1a Mon Sep 17 00:00:00 2001 From: James Lyon Date: Wed, 17 Apr 2013 20:32:07 +0100 Subject: Fixed tests on Windows (including out-of-tree problems) Modified tcctest.c so that it uses 'double' in place of 'long double' with MinGW since this is what TCC does, and what Visual C++ does. Added an option -norunsrc to tcc to allow argv[0] to be set independently of the compiled source when using tcc -run, which allows tests that rely on the value of argv[0] to work in out-of-tree builds. Also added Makefile rules to automatically update out-of-tree build Makefiles when in-tree Makefiles have changed. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3dffaa8..fb94845 100644 --- a/Makefile +++ b/Makefile @@ -343,6 +343,8 @@ tar: tcc-doc.html rm -rf $(TCC-VERSION) git reset +Makefile: $(top_srcdir)/Makefile + cp $< $@ .PHONY: all clean tar distclean install uninstall FORCE -- cgit v1.3.1