Diffstat (limited to 'noncore/net/wellenreiter/daemon/source/Makefile') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/daemon/source/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/noncore/net/wellenreiter/daemon/source/Makefile b/noncore/net/wellenreiter/daemon/source/Makefile index dc459af..f6efa3d 100644 --- a/noncore/net/wellenreiter/daemon/source/Makefile +++ b/noncore/net/wellenreiter/daemon/source/Makefile | |||
@@ -3,10 +3,9 @@ | |||
3 | CPP = g++ | 3 | CPP = g++ |
4 | 4 | ||
5 | CFLAGS= | ||
6 | OPTIMFLAGS= -g | 5 | OPTIMFLAGS= -g |
7 | WARNFLAGS= -Wall -pedantic -DDEBUG | 6 | WARNFLAGS= -Wall -pedantic -DDEBUG |
8 | LDFLAGS = | 7 | LDFLAGS = |
9 | LIBS = -lpcap | 8 | LIBS = -lpcap ../../libwellenreiter/source/libwellenreiter.a |
10 | OBJ = daemon.o log.o sendgui.o getgui.o sniffer.o | 9 | OBJ = daemon.o |
11 | 10 | ||
12 | .SUFFIXES: | 11 | .SUFFIXES: |
@@ -14,10 +13,10 @@ OBJ = daemon.o log.o sendgui.o getgui.o sniffer.o | |||
14 | 13 | ||
15 | %.o : %.cc | 14 | %.o : %.cc |
16 | $(CPP) $(CFLAGS) $(WARNFLAGS) $(OPTIMFLAGS) -c $< -o $@ | 15 | $(CPP) $(WARNFLAGS) $(OPTIMFLAGS) -c $< -o $@ |
17 | 16 | ||
18 | all:wellenreiterd | 17 | all:wellenreiterd |
19 | 18 | ||
20 | wellenreiterd:$(OBJ) | 19 | wellenreiterd:$(OBJ) |
21 | $(CPP) $(OPTIMFLAGS) $(WARNFLAGS) $(CFLAGS) $(OBJ) $(LDFLAGS) $(LIBS) -o $@ | 20 | $(CPP) $(OPTIMFLAGS) $(WARNFLAGS) $(OBJ) $(LDFLAGS) $(LIBS) -o $@ |
22 | @echo Build wellenreiterd | 21 | @echo Build wellenreiterd |
23 | 22 | ||
@@ -26,6 +25,4 @@ clean distclean realclean: | |||
26 | @echo All dependent files have been removed. | 25 | @echo All dependent files have been removed. |
27 | 26 | ||
28 | wellenreiterd.o:config.hh | 27 | daemon.o:config.hh |
29 | serve.o: config.hh | 28 | |
30 | log.o: config.hh | ||
31 | sendgui.o: config.hh | ||