cleanups
This commit is contained in:
6
Makefile
6
Makefile
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user