More Makefile improvements by Petr Uzel: installing to /sbin, adding
conninode and removing some trailing whitespace.
This commit is contained in:
4
Makefile
4
Makefile
@@ -5,7 +5,7 @@ MINORVERSION := snapshot
|
||||
#DESTDIR := /usr
|
||||
DESTDIR := /usr/local
|
||||
|
||||
bin := $(DESTDIR)/bin
|
||||
sbin := $(DESTDIR)/sbin
|
||||
man8 := $(DESTDIR)/share/man/man8/
|
||||
|
||||
all: nethogs decpcap_test
|
||||
@@ -51,6 +51,8 @@ decpcap.o: decpcap.c decpcap.h
|
||||
$(CC) $(CFLAGS) -c decpcap.c
|
||||
inode2prog.o: inode2prog.cpp inode2prog.h nethogs.h
|
||||
$(CXX) $(CFLAGS) -c inode2prog.cpp
|
||||
conninode.o: conninode.cpp nethogs.h conninode.h
|
||||
$(CXX) $(CFLAGS) -c conninode.cpp
|
||||
cui.o: cui.cpp cui.h nethogs.h
|
||||
$(CXX) $(CFLAGS) -c cui.cpp -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user