Add trivial Makefile
authorCarl Worth <cworth@cworth.org>
Sun, 6 Jan 2008 02:35:11 +0000 (18:35 -0800)
committerCarl Worth <cworth@cworth.org>
Sun, 6 Jan 2008 02:35:11 +0000 (18:35 -0800)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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