Improved 'make install' due to Petr Uzel

This commit is contained in:
Arnout Engelen
2008-12-06 11:39:12 +00:00
parent 7b54891553
commit c51a014b4f

View File

@@ -24,8 +24,10 @@ check:
echo "Not implemented" echo "Not implemented"
install: nethogs nethogs.8 install: nethogs nethogs.8
cp nethogs $(bin) install -d -m 755 $(bin)
cp nethogs.8 $(man8) install -m 755 nethogs $(bin)
install -d -m 755 $(man8)
install -m 644 nethogs.8 $(man8)
nethogs: nethogs.cpp $(OBJS) nethogs: nethogs.cpp $(OBJS)
$(CXX) $(CFLAGS) nethogs.cpp $(OBJS) -o nethogs -lpcap -lm -lncurses -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\" $(CXX) $(CFLAGS) nethogs.cpp $(OBJS) -o nethogs -lpcap -lm -lncurses -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\"