aboutsummaryrefslogtreecommitdiff
path: root/tests/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/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/Makefile')
-rw-r--r--tests/Makefile3
1 files changed, 2 insertions, 1 deletions
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