Gitweb links: ...log http://git.netsurf-browser.org/libdom.git/shortlog/ac5f4ce817d1421798aa4b94daee8deb84e40f76 ...commit http://git.netsurf-browser.org/libdom.git/commit/ac5f4ce817d1421798aa4b94daee8deb84e40f76 ...tree http://git.netsurf-browser.org/libdom.git/tree/ac5f4ce817d1421798aa4b94daee8deb84e40f76
The branch, master has been updated via ac5f4ce817d1421798aa4b94daee8deb84e40f76 (commit) from 603ef81d5f715a16680278affa49f0b95b81c347 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commitdiff http://git.netsurf-browser.org/libdom.git/commit/?id=ac5f4ce817d1421798aa4b94daee8deb84e40f76 commit ac5f4ce817d1421798aa4b94daee8deb84e40f76 Author: Michael Drake <michael.dr...@codethink.co.uk> Commit: Michael Drake <michael.dr...@codethink.co.uk> Example: Fix problem on case-insensitive filesystem. Adds example commands to build the example. diff --git a/examples/example.mk b/examples/example.mk new file mode 100644 index 0000000..8e1da17 --- /dev/null +++ b/examples/example.mk @@ -0,0 +1,24 @@ +# From the top level: +# +# make -C examples -f example.mk clean +# make -C examples -f example.mk +# ./examples/dom-structure-dump examples/files/test.html + +CC := gcc +LD := gcc + +CFLAGS := `pkg-config --cflags libdom` `pkg-config --cflags libwapcaplet` -Wall -O0 -g +LDFLAGS := `pkg-config --libs libdom` `pkg-config --libs libwapcaplet` + +SRC := dom-structure-dump.c + +dom-structure-dump: $(SRC:.c=.o) + @$(LD) -o $@ $^ $(LDFLAGS) + +.PHONY: clean +clean: + $(RM) dom-structure-dump $(SRC:.c=.o) + +%.o: %.c + @$(CC) -c $(CFLAGS) -o $@ $< + diff --git a/examples/makefile b/examples/makefile deleted file mode 100644 index 47cc7ae..0000000 --- a/examples/makefile +++ /dev/null @@ -1,18 +0,0 @@ -CC := gcc -LD := gcc - -CFLAGS := `pkg-config --cflags libdom` `pkg-config --cflags libwapcaplet` -Wall -O0 -g -LDFLAGS := `pkg-config --libs libdom` `pkg-config --libs libwapcaplet` - -SRC := dom-structure-dump.c - -dom-structure-dump: $(SRC:.c=.o) - @$(LD) -o $@ $^ $(LDFLAGS) - -.PHONY: clean -clean: - $(RM) dom-structure-dump $(SRC:.c=.o) - -%.o: %.c - @$(CC) -c $(CFLAGS) -o $@ $< - ----------------------------------------------------------------------- Summary of changes: examples/{makefile => example.mk} | 6 ++++++ 1 file changed, 6 insertions(+) rename examples/{makefile => example.mk} (69%) diff --git a/examples/makefile b/examples/example.mk similarity index 69% rename from examples/makefile rename to examples/example.mk index 47cc7ae..8e1da17 100644 --- a/examples/makefile +++ b/examples/example.mk @@ -1,3 +1,9 @@ +# From the top level: +# +# make -C examples -f example.mk clean +# make -C examples -f example.mk +# ./examples/dom-structure-dump examples/files/test.html + CC := gcc LD := gcc -- Document Object Model library _______________________________________________ netsurf-commits mailing list -- netsurf-commits@netsurf-browser.org To unsubscribe send an email to netsurf-commits-le...@netsurf-browser.org