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/tests2/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/tests2/Makefile') diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index 254fa5c..ab8b6c6 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -19,6 +19,10 @@ endif TCC = $(TOP)/tcc $(TCCFLAGS) +ifdef CONFIG_WIN32 + TCC = $(top_srcdir)/win32/tcc $(TCCFLAGS) +endif + TESTS = $(patsubst %.c,%.test,$(wildcard *.c)) # 34_array_assignment.test -- array assignment is not in C standard -- cgit v1.3.1