Diffstat (limited to 'noncore/net/wellenreiter/daemon/source/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/daemon/source/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/noncore/net/wellenreiter/daemon/source/Makefile b/noncore/net/wellenreiter/daemon/source/Makefile index 238dcce..fb897bf 100644 --- a/noncore/net/wellenreiter/daemon/source/Makefile +++ b/noncore/net/wellenreiter/daemon/source/Makefile @@ -2,7 +2,4 @@ -CPP = g++ - -OPTIMFLAGS = -g -WARNFLAGS = -Wall -pedantic -DDEBUG -LDFLAGS = +CPP = g++ +CPPFLAGS = -g -Wall -pedantic -DDEBUG -I ../../ LIBS = -lpcap ../../libwellenreiter/source/libwellenreiter.a @@ -11,6 +8,6 @@ OBJ = daemon.o .SUFFIXES: -.PHONY: all clean distclean realclean +.PHONY: all wellenreiterd clean distclean realclean %.o : %.cc - $(CPP) $(WARNFLAGS) $(OPTIMFLAGS) -c $< -o $@ + $(CPP) $(CPPFLAGS) -c $< -o $@ @@ -19,9 +16,10 @@ all: wellenreiterd wellenreiterd: $(OBJ) - $(CPP) $(OPTIMFLAGS) $(WARNFLAGS) $(OBJ) $(LDFLAGS) $(LIBS) -o $@ - @echo Built wellenreiterd + $(CPP) $(CPPFLAGS) $(OBJ) $(LIBS) -o $@ + @echo Build wellenreiterd clean distclean realclean: - @rm -rf wellenreiterd *~ *.o + @rm -f wellenreiterd *~ *.o @echo All dependent files have been removed. -daemon.o: config.hh daemon.cc daemon.hh +daemon.o: config.hh + |