diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-04 19:32:35 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-04 19:32:35 +0200 |
commit | e31a85eb3b9d331d73254ceb2d6156cc8e66c40a (patch) | |
tree | 436738c1d8a3e50551d45182523599430a337ebc /Makefile | |
parent | e68449ee1db529d0ef7b88fb0fba15263445b574 (diff) |
Make some formats/paths configurable, add initscript
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |