aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-11-04 04:49:05 +0800
committerTeddy <[email protected]>2014-11-04 04:49:05 +0800
commit9996f078dcdd58973ae1153e5c5c3e6623705fdd (patch)
treeb93f47dde0082c9bd699c15d075cd9e0992b1cee /Makefile
init
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7ba32d2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+all: mpd_trigger
+mpd_trigger: mpd_trigger.o
+ gcc -o $@ $< -lmpdclient
+mpd_trigger.o: mpd_trigger.c
+ gcc -c $< -g