aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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