From 270ef59a98d34fef418fb6cd27e46f3edc912948 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 28 Mar 2010 12:56:39 +0000 Subject: Merge jmb/new-cache; r=dsilvers,rs=vince svn path=/trunk/netsurf/; revision=10180 --- test/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/Makefile (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 000000000..f480f4809 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,19 @@ +CFLAGS := -std=c99 -g -O0 -D_BSD_SOURCE -D_POSIX_C_SOURCE -I.. \ + `pkg-config --cflags libxml-2.0 libcurl libparserutils` +LDFLAGS := `pkg-config --libs libxml-2.0 libcurl libparserutils` + +llcache_SRCS := content/fetch.c content/fetchers/fetch_curl.c \ + content/fetchers/fetch_data.c content/llcache.c \ + content/urldb.c desktop/options.c desktop/version.c \ + utils/base64.c utils/hashtable.c utils/messages.c \ + utils/url.c utils/useragent.c utils/utf8.c utils/utils.c \ + test/llcache.c + +llcache: $(addprefix ../,$(llcache_SRCS)) + $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) + + +.PHONY: clean + +clean: + $(RM) llcache -- cgit v1.2.3