diff options
| author | Vlad Vissoultchev <wqweto@gmail.com> | 2016-03-14 18:11:49 +0200 |
|---|---|---|
| committer | Vlad Vissoultchev <wqweto@gmail.com> | 2016-03-14 18:11:49 +0200 |
| commit | fa2472c17246206ce6947475782de17245eceeea (patch) | |
| tree | eb3fc8bf659ba7b3f19d69ff5713ba99ba891a10 /tests/pp | |
| parent | 5175b1ad87d90857a05cbec3a3a307bf61578e1d (diff) | |
| download | tinycc-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/pp')
| -rw-r--r-- | tests/pp/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/pp/Makefile b/tests/pp/Makefile index c656f9a..cb8bfea 100644 --- a/tests/pp/Makefile +++ b/tests/pp/Makefile @@ -2,9 +2,16 @@ # credits: 01..13.c from the pcc cpp-tests suite # -TCC = ../../tcc +TOP = ../.. +include $(TOP)/Makefile + +TCC = $(TOP)/tcc TESTS = $(patsubst %.c,%.test,$(wildcard *.c)) +ifdef CONFIG_WIN32 + TCC = $(top_srcdir)/win32/tcc +endif + all test : $(TESTS) %.test: %.c %.expect |
