aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/Makefile
diff options
context:
space:
mode:
authorVlad Vissoultchev <wqweto@gmail.com>2016-03-14 18:11:49 +0200
committerVlad Vissoultchev <wqweto@gmail.com>2016-03-14 18:11:49 +0200
commitfa2472c17246206ce6947475782de17245eceeea (patch)
treeeb3fc8bf659ba7b3f19d69ff5713ba99ba891a10 /tests/tests2/Makefile
parent5175b1ad87d90857a05cbec3a3a307bf61578e1d (diff)
downloadtinycc-fa2472c17246206ce6947475782de17245eceeea.tar.gz
tinycc-fa2472c17246206ce6947475782de17245eceeea.tar.bz2
Fix tests Makefiles on Windows
Compiled tcc.exe location is under $(top_srcdir)/win32
Diffstat (limited to 'tests/tests2/Makefile')
-rw-r--r--tests/tests2/Makefile4
1 files changed, 4 insertions, 0 deletions
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