This commit is contained in:
Arnout Engelen
2004-09-17 19:22:17 +00:00
parent cd3fce3e54
commit 45e3157f67
7 changed files with 73 additions and 286 deletions

View File

@@ -7,8 +7,8 @@ man8 := $(DESTDIR)/usr/share/man/man8/
all: nethogs
CFLAGS=-g -Wall
OBJS=structs.o packet.o connection.o process.o hashtbl.o refresh.o decpcap.o
CFLAGS=-g -Wall -pg
OBJS=structs.o packet.o connection.o process.o refresh.o decpcap.o cui.o
GCC=g++
.PHONY: tgz
@@ -42,6 +42,8 @@ hashtbl.o: hashtbl.cpp hashtbl.h nethogs.h
$(GCC) $(CFLAGS) -c hashtbl.cpp
decpcap.o: decpcap.c decpcap.h
gcc $(CFLAGS) -c decpcap.c
cui.o: cui.cpp cui.h nethogs.h
$(GCC) $(CFLAGS) -c cui.cpp -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\"
.PHONY: clean
clean: