brought ppp support a step closer

This commit is contained in:
Arnout Engelen
2006-11-04 20:41:30 +00:00
parent 501954c7c1
commit 0f63c7e68c
3 changed files with 92 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ DESTDIR := /usr/local
bin := $(DESTDIR)/bin
man8 := $(DESTDIR)/share/man/man8/
all: nethogs
all: nethogs decpcap_test
#CFLAGS=-g -Wall
CFLAGS=-O2
@@ -29,6 +29,9 @@ install: nethogs nethogs.8
nethogs: nethogs.cpp $(OBJS)
$(CXX) $(CFLAGS) nethogs.cpp $(OBJS) -o nethogs -lpcap -lm -lncurses -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\"
decpcap_test: decpcap_test.cpp decpcap.o
$(CXX) $(CFLAGS) decpcap_test.cpp decpcap.o -o decpcap_test -lpcap -lm
#-lefence
refresh.o: refresh.cpp refresh.h nethogs.h