From bc6de9c7af97c266f50a635cc4b972d3e2fd655a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 12 May 2021 16:18:36 +0100 Subject: Move makefiles that break main build on case-insensitive filesystems. --- examples/example.mk | 18 ++++++++++++++++++ examples/makefile | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 examples/example.mk delete mode 100644 examples/makefile (limited to 'examples') diff --git a/examples/example.mk b/examples/example.mk new file mode 100644 index 0000000..8c5d828 --- /dev/null +++ b/examples/example.mk @@ -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 $@ $< + diff --git a/examples/makefile b/examples/makefile deleted file mode 100644 index 8c5d828..0000000 --- a/examples/makefile +++ /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 $@ $< - -- cgit v1.2.3