summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-11-28 17:29:35 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-11-28 17:29:35 +0000
commitd7bc286801b3fc1dfe7347314d122894274c7013 (patch)
tree0a95cceec12de5c6bd5bcc742a1b1e4e5b153581 /css
parentce93fc9d4c06604ec289cc6ca134ffa894132e5b (diff)
downloadnetsurf-d7bc286801b3fc1dfe7347314d122894274c7013.tar.gz
netsurf-d7bc286801b3fc1dfe7347314d122894274c7013.tar.bz2
Rename library to avoid confusion.
Require make test to actually do anything. Will error out by default. svn path=/trunk/netsurf/; revision=5814
Diffstat (limited to 'css')
-rw-r--r--css/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/css/Makefile b/css/Makefile
index 7e4727daa..6be322a6f 100644
--- a/css/Makefile
+++ b/css/Makefile
@@ -10,14 +10,19 @@ LDFLAGS := -lxml2 -lz -lcurl
LIBOBJS := css.o css_enum.o parser.o ruleset.o scanner.o \
messages.o hashtable.o talloc.o url.o utils.o
+.PHONY: default lib clean
+
+default:
+ $(error "You probably wanted 'make test'")
+
test: lib testcss.o
- $(LD) -o $@ testcss.o $(LDFLAGS) -L. -lcss
+ $(LD) -o $@ testcss.o $(LDFLAGS) -L. -lnscss
lib: $(LIBOBJS)
- $(AR) -cru libcss.a $^
+ $(AR) -cru libnscss.a $^
clean:
- $(RM) $(LIBOBJS) testcss.o test libcss.a
+ $(RM) $(LIBOBJS) testcss.o test libnscss.a
messages.o: ../utils/messages.c
$(CC) $(CFLAGS) -c -o $@ $<