blob: a592c5635759707a14d693d99d4a1edcc3105ef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
ifeq ($(MAKECMDGOALS),test)
# Extend toolchain settings
# We require the presence of libjson -- http://oss.metaparadigm.com/json-c/
CFLAGS := $(CFLAGS) $(shell $(PKGCONFIG) $(PKGCONFIGFLAGS) --cflags json) \
-Wno-unused-parameter
LDFLAGS := $(LDFLAGS) $(shell $(PKGCONFIG) $(PKGCONFIGFLAGS) --libs json)
endif
# Tests
DIR_TEST_SOURCES := csdetect.c dict.c entities.c hubbub.c parser.c \
tokeniser.c tokeniser2.c tokeniser3.c tree.c tree2.c tree-buf.c
include build/makefiles/Makefile.subdir
|