diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2013-05-27 09:35:16 +0100 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2013-05-28 14:16:10 +0100 |
commit | c1e864656dc757b0ed255b6ec33ef00c9c7d2070 (patch) | |
tree | bf9950209b34dc352dd8131b5d6da57a59abae3d /test/Makefile | |
parent | a2769ec68bd81a33096a981d7299bd1b3804882c (diff) | |
download | netsurf-c1e864656dc757b0ed255b6ec33ef00c9c7d2070.tar.gz netsurf-c1e864656dc757b0ed255b6ec33ef00c9c7d2070.tar.bz2 |
add tests for new options API
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile index e61e21f69..ecd2b501a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -26,9 +26,12 @@ nsurl_SRCS := utils/log.c utils/nsurl.c test/nsurl.c nsurl_CFLAGS := $(shell pkg-config --cflags libwapcaplet) nsurl_LDFLAGS := $(shell pkg-config --libs libwapcaplet) +nsoption_SRCS := utils/log.c utils/nsoption.c test/nsoption.c +nsoption_CFLAGS := -Dnsgtk + .PHONY: all -all: llcache urldbtest nsurl +all: llcache urldbtest nsurl nsoption llcache: $(addprefix ../,$(llcache_SRCS)) $(CC) $(CFLAGS) $(llcache_CFLAGS) $^ -o $@ $(LDFLAGS) $(llcache_LDFLAGS) @@ -39,7 +42,10 @@ urldbtest: $(addprefix ../,$(urldbtest_SRCS)) nsurl: $(addprefix ../,$(nsurl_SRCS)) $(CC) $(CFLAGS) $(nsurl_CFLAGS) $^ -o $@ $(LDFLAGS) $(nsurl_LDFLAGS) +nsoption: $(addprefix ../,$(nsoption_SRCS)) + $(CC) $(CFLAGS) $(nsoption_CFLAGS) $^ -o $@ $(LDFLAGS) $(nsoption_LDFLAGS) + .PHONY: clean clean: - $(RM) llcache urldbtest nsurl + $(RM) llcache urldbtest nsurl nsoption |