From fa2472c17246206ce6947475782de17245eceeea Mon Sep 17 00:00:00 2001 From: Vlad Vissoultchev Date: Mon, 14 Mar 2016 18:11:49 +0200 Subject: Fix tests Makefiles on Windows Compiled tcc.exe location is under $(top_srcdir)/win32 --- tests/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index 2b250b0..04390c7 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -60,12 +60,13 @@ endif # run local version of tcc with local libraries and includes TCCFLAGS = -B$(TOP) -I$(TOP) -I$(top_srcdir) -I$(top_srcdir)/include -L$(TOP) +TCC = $(TOP)/tcc $(TCCFLAGS) ifdef CONFIG_WIN32 TCCFLAGS = -B$(top_srcdir)/win32 -I$(top_srcdir) -I$(top_srcdir)/include -L$(TOP) + TCC = $(TOP)/win32/tcc $(TCCFLAGS) endif XTCCFLAGS = -B$(TOP) -B$(top_srcdir)/win32 -I$(TOP) -I$(top_srcdir) -I$(top_srcdir)/include -TCC = $(TOP)/tcc $(TCCFLAGS) RUN_TCC = $(NATIVE_DEFINES) -DONE_SOURCE -run $(top_srcdir)/tcc.c $(TCCFLAGS) DISAS = objdump -d -- cgit v1.3.1