build as lib - work in progress

This commit is contained in:
Mohamed Boussaffa
2016-03-04 00:09:51 +08:00
parent 0b4ba231c0
commit 730a5c2624
3 changed files with 6 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ else
# Release mode options
ODIR:=$(ODIR_BASE)/release
CFLAGS?=-Wall -Wextra -O3 -fPIC $(VISIBILITY)
CXXFLAGS?=---std=c++11 Wall -Wextra -O3 -fPIC $(VISIBILITY) $(CXXINCLUDES)
CXXFLAGS?=-Wall --std=c++11 -Wextra -O3 -fPIC $(VISIBILITY) $(CXXINCLUDES)
endif
OBJ_NAMES= libnethogs.o packet.o connection.o process.o refresh.o decpcap.o inode2prog.o conninode.o devices.o