aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2014-11-04 23:51:16 +0800
committerDeterminant <[email protected]>2014-11-04 23:51:16 +0800
commit88258e4920d0254cfbd7267e47e63fdf107241d3 (patch)
treeb4bf0a49da4ccbf1afa661d6796ade1cd1af021c /Makefile
parent9b9fcdd2aa6f191575bc6bebe0197281e414dfd7 (diff)
...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7ba32d2..9813d6d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
+.PHONY: clean
all: mpd_trigger
mpd_trigger: mpd_trigger.o
gcc -o $@ $< -lmpdclient
mpd_trigger.o: mpd_trigger.c
- gcc -c $< -g
+ gcc -c $< -Wall -Wextra -Wpedantic -g
+clean:
+ -rm *.o mpd_trigger