Don't unnecessarily call alarm when duration is zero
[herbe.git] / makefile
index cece8e819fdb4de4b4d60bfe7dae74b8b81b55ce..dd26b9a06f22adde29411752d999ee62c029cee7 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,2 +1,11 @@
 default:
-       gcc main.c -lX11 -lXft -I/usr/include/freetype2 -o main
+       gcc herbe.c -Wall -Wextra -pedantic -lX11 -lXft -I/usr/include/freetype2 -lm -o herbe
+
+install: default
+       cp herbe /usr/local/bin
+
+uninstall:
+       rm /usr/local/bin/herbe
+
+clean:
+       rm -f herbe