Imported Upstream version 2.9.0
[debian/cc1111] / support / tests / internal / Makefile
1 TOPDIR = ../../..
2
3 LIBSOURCE = \
4         $(TOPDIR)/src/SDCCutil.c \
5         $(TOPDIR)/src/SDCChasht.c \
6         $(TOPDIR)/support/Util/NewAlloc.c \
7         $(TOPDIR)/support/Util/SDCCerr.c \
8         $(TOPDIR)/src/SDCCmacro.c \
9         stubs.c
10
11 SOURCES = testpaths.c $(LIBSOURCE)
12
13 include $(TOPDIR)/Makefile.common
14
15 CFLAGS += -I$(TOPDIR)/src -I$(TOPDIR)/support/Util -I$(TOPDIR)
16
17 all: all-tests
18
19 all-tests: $(OBJ)
20         $(CC) -o $@ $(OBJ)
21