summaryrefslogtreecommitdiff
path: root/test/Makefile
blob: b320a61768178fd673675319d52b7bef45fdcd51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
testlib_files := lib/comparators.c;lib/list.c;lib/testassert.c;
testlib_files := $(testlib_files);lib/testobject.c;lib/utils.c

DIR_TEST_ITEMS := binding:binding.c;$(testlib_files) \
		test-list:test-list.c;$(testlib_files)

include build/makefiles/Makefile.subdir

# TODO: XML suite
#
# Transformer input
#XMLFILES = $(wildcard xml/tests/*.xml)
#
# Transformer output
#CFILES = $(addprefix xml/c/, $(notdir $(XMLFILES:.xml=.c)))
#
# Objects
#XMLOBJS = $(addprefix xml/bin/, $(notdir $(XMLFILES:.xml=)))
#
#transform: $(CFILES)
#
# Pattern rules
#xml/bin/%: xml/c/%.c
#	@${ECHO} ${ECHOFLAGS} "==> $<"
#	@${CC} -c -g ${CFLAGS} -o $@.o $<
#	@${LD} -g -o $@ $@.o ${LDFLAGS} $(LIBS)
#	@${RM} ${RMFLAGS} $@.o
#
#xml/c/%.c: xml/tests/%.xml
#	@${XSLT} ${XSLTFLAGS} -o $@ transform/test-to-c.xsl $<