aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-21 14:05:47 -0500
committerTom Gundersen <teg@jklm.no>2011-04-21 21:44:48 +0200
commitb4aa5db65539a0e4f3fb07dd486a59a296746c8f (patch)
tree58a5652cb13bd680cdbc845f3e8d6ec7ba5b12aa /Makefile
parent88b518c3f95df2454cd291728e0c7e77e9d8a875 (diff)
downloadinitscripts-b4aa5db65539a0e4f3fb07dd486a59a296746c8f.tar.xz
Use a Makefile and clean up install file
Use a Makefile to compile, rather than a call to gcc in install.sh. This allows make's implict rules to take care of CFLAGS, LDFLAGS, CC, etc. Use `set -e` in the install file rather than needing '|| exit 1' on every single operation. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..520700b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+minilogd: minilogd.o
+
+clean:
+ rm -f minilogd minilogd.o