From 59e5b86699b30dddbe173dac2e896764b2a88e46 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 24 Mar 2009 14:05:12 +0000 Subject: First cut at porting hubbub's buildsystem to the core tools svn path=/trunk/hubbub/; revision=6837 --- examples/Mkfile | 18 ------------------ examples/makefile | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 examples/Mkfile create mode 100644 examples/makefile (limited to 'examples') diff --git a/examples/Mkfile b/examples/Mkfile deleted file mode 100644 index 8c5d828..0000000 --- a/examples/Mkfile +++ /dev/null @@ -1,18 +0,0 @@ -CC := gcc -LD := gcc - -CFLAGS := `pkg-config --cflags libhubbub` `xml2-config --cflags` -LDFLAGS := `pkg-config --libs libhubbub` `xml2-config --libs` - -SRC := libxml.c - -libxml: $(SRC:.c=.o) - @$(LD) -o $@ $^ $(LDFLAGS) - -.PHONY: clean -clean: - $(RM) libxml $(SRC:.c=.o) - -%.o: %.c - @$(CC) -c $(CFLAGS) -o $@ $< - diff --git a/examples/makefile b/examples/makefile new file mode 100644 index 0000000..8c5d828 --- /dev/null +++ b/examples/makefile @@ -0,0 +1,18 @@ +CC := gcc +LD := gcc + +CFLAGS := `pkg-config --cflags libhubbub` `xml2-config --cflags` +LDFLAGS := `pkg-config --libs libhubbub` `xml2-config --libs` + +SRC := libxml.c + +libxml: $(SRC:.c=.o) + @$(LD) -o $@ $^ $(LDFLAGS) + +.PHONY: clean +clean: + $(RM) libxml $(SRC:.c=.o) + +%.o: %.c + @$(CC) -c $(CFLAGS) -o $@ $< + -- cgit v1.2.3