From e31a85eb3b9d331d73254ceb2d6156cc8e66c40a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 4 Oct 2008 19:32:35 +0200 Subject: Make some formats/paths configurable, add initscript --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2af2010..09f537f 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,10 @@ -all: +wmiistatus: wmiistatus.c wmiistatus.h config.h Makefile gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -O2 -o wmiistatus wmiistatus.c + +install: + install -m 755 -d $(DESTDIR)/usr/bin + install -m 755 -d $(DESTDIR)/etc/init.d + install -m 755 wmiistatus $(DESTDIR)/usr/bin/wmiistatus + install -m 755 wmiistatus.init $(DESTDIR)/etc/init.d/wmiistatus + +all: wmiistatus -- cgit v1.2.3