From: Carl Worth <cworth@cworth.org>
Date: Sun, 6 Jan 2008 02:35:11 +0000 (-0800)
Subject: Add trivial Makefile
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=b71bfe83b2d18e4142b361605511db8bbe7925d9;p=loudgame

Add trivial Makefile
---

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f4e529d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+ALL=lm-echo
+MYCFLAGS=-Wall `pkg-config --cflags loudmouth-1.0`
+MYLDFLAGS=`pkg-config --libs loudmouth-1.0`
+
+all: $(ALL)
+
+%: %.c
+	$(CC) $(CFLAGS) $(MYCFLAGS) $(LDFLAGS) $(MYLDFLAGS) -o $@ $^
+
+clean:
+	rm -f $(ALL) *.o