"Fix" of compiler crash
[fw/sdcc] / support / tests / internal / Makefile
1 TOPDIR = ../../..
2
3 LIBSOURCE = \
4         $(TOPDIR)/src/SDCChasht.c \
5         $(TOPDIR)/support/Util/NewAlloc.c \
6         $(TOPDIR)/support/Util/SDCCerr.c \
7         $(TOPDIR)/src/SDCCmacro.c \
8         stubs.c
9
10 SOURCES = testmacro.c $(LIBSOURCE)
11
12 include $(TOPDIR)/Makefile.common
13
14 CFLAGS += -I$(TOPDIR)/src -I$(TOPDIR)/support/Util -I$(TOPDIR)
15
16 all: all-tests
17
18 all-tests: $(OBJ)
19         $(CC) -o $@ $(OBJ)
20