mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
Revert "Fix tests Makefiles on Windows"
This reverts commit fa2472c172
.
This commit is contained in:
parent
f021a7cd94
commit
acc8f602e5
@ -60,13 +60,12 @@ 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
|
||||
|
@ -2,17 +2,10 @@
|
||||
# credits: 01..13.c from the pcc cpp-tests suite
|
||||
#
|
||||
|
||||
TOP = ../..
|
||||
include $(TOP)/Makefile
|
||||
|
||||
TCC = $(TOP)/tcc
|
||||
TCC = ../../tcc
|
||||
TESTS = $(patsubst %.c,%.test,$(wildcard *.c))
|
||||
TESTS += $(patsubst %.S,%.test,$(wildcard *.S))
|
||||
|
||||
ifdef CONFIG_WIN32
|
||||
TCC = $(top_srcdir)/win32/tcc
|
||||
endif
|
||||
|
||||
all test : $(TESTS)
|
||||
|
||||
%.test: %.c %.expect
|
||||
|
@ -19,10 +19,6 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user