summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-11-13 11:36:51 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2014-11-13 11:36:51 +0100
commitfeb041170121b703ddb48cc02c2e0c9ccfd94e7c (patch)
treee7c96fef7e6aae625e22bdbe32e93986200f69fc /src/GNUmakefile
parent5ebbe3d69ae442d5f751137cf000012870ba85a7 (diff)
downloadbiruda-feb041170121b703ddb48cc02c2e0c9ccfd94e7c.tar.gz
biruda-feb041170121b703ddb48cc02c2e0c9ccfd94e7c.tar.bz2
renamed sleep.h to port.h (for easy porting macros for Windows/Unix)
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index a7473bf..0704fba 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -13,10 +13,10 @@ biruda: biruda.o biruda_cmdline.o master.o coordinator.o worker.o system.o
$(CC) -o $@ $(LDFLAGS) $^ $(LIBS)
biruda_cmdline.o: biruda_cmdline.c
-biruda.o: biruda.c biruda_cmdline.h master.h coordinator.h worker.h sleep.h system.h
-master.o: master.c master.h sleep.h
-coordinator.o: coordinator.c coordinator.h sleep.h system.h
-worker.o: worker.c worker.h sleep.h
+biruda.o: biruda.c biruda_cmdline.h master.h coordinator.h worker.h port.h system.h
+master.o: master.c master.h port.h
+coordinator.o: coordinator.c coordinator.h port.h system.h
+worker.o: worker.c worker.h port.h
system.o: system.c system.h
biruda_cmdline.c: biruda.ggo
@@ -44,3 +44,6 @@ install:
install -m 0775 biruda $(DESTDIR)$(sbindir)
@test -d $(DESTDIR)$(sysconfdir)/biruda || install -d -m 0755 $(DESTDIR)$(sysconfdir)/biruda
install -m 0644 biruda.conf $(DESTDIR)$(sysconfdir)/biruda
+
+run: all
+ @-./biruda -c biruda.conf -p