Fix tests Makefiles on Windows
Compiled tcc.exe location is under $(top_srcdir)/win32
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user