diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-09-16 18:24:29 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-09-16 18:24:29 +0200 |
commit | 0e6fe4f1cabbcfc85e790552ae02ab78a7c1be2d (patch) | |
tree | cbbcc48b10d5edcf7ade1a516cab5fe0f74272fe /src/GNUmakefile | |
parent | 44353ca8aeaff369669f5108a6cadda895842673 (diff) | |
download | biruda-0e6fe4f1cabbcfc85e790552ae02ab78a7c1be2d.tar.gz biruda-0e6fe4f1cabbcfc85e790552ae02ab78a7c1be2d.tar.bz2 |
added detection of cpus
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r-- | src/GNUmakefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile index ac37c10..7bf8131 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile @@ -9,14 +9,15 @@ LIBS = -lconfuse -lpthread -lnanomsg -ljson-c %.o : %.c $(CC) $(CFLAGS) -c -o $@ $< -biruda: biruda.o biruda_cmdline.o master.o coordinator.o worker.o +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 +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 worker.o: worker.c worker.h sleep.h +system.o: system.c system.h biruda_cmdline.c: biruda.ggo gengetopt -F biruda_cmdline --unamed-opts --conf-parser --include-getopt -i $< |