makefiles

This commit is contained in:
root 2015-10-10 03:16:45 +00:00
parent 3e7557c69e
commit ec429b62f6
2 changed files with 27 additions and 0 deletions

22
makefile Normal file
View File

@ -0,0 +1,22 @@
include makefile.inc
DYLIBS= vnctpmd.so vnctptd.so
#vnltsmd.so vnltstd.so vnltsl2.so
all: $(DYLIBS)
vnltsmd.so:
cd vn.lts/vnltsmd/pyltsmd;make all
vnltstd.so:
cd vn.lts/vnltstd/pyltstd;make all
vnltsl2.so:
cd vn.lts/vnltsl2/vnltsl2;make all
vnctpmd.so:
cd vn.ctp/vnctpmd/vnctpmd;make all
vnctptd.so:
cd vn.ctp/vnctptd/vnctptd;make all

5
makefile.inc Normal file
View File

@ -0,0 +1,5 @@
CXX = g++
LIBRARIES = -lboost_thread -lboost_python -lpython2.7
COMMON_FLAGS = -D__GNU__ -fPIC
INCLUDE = -I/usr/include/python2.7/
ROOTPATH = $(dir $(abspath $(lastword $(MAKEFILE_LIST))))