File: Makefile

package info (click to toggle)
vistrails 2.1.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 74,208 kB
  • ctags: 46,250
  • sloc: python: 316,267; xml: 52,512; sql: 3,627; php: 731; sh: 260; makefile: 108
file content (19 lines) | stat: -rw-r--r-- 394 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SRCS := tetgen_wrap.cc

INCLUDES := -I/usr/include/python2.4 -I/scratch/mjc/tetgen-dev

CC := g++
CXXFLAGS := -fPIC
LIBS := -lpython2.4 -ltet

%.o :: %.cc
	$(CC) $(CXXFLAGS) -c -o $@ $(INCLUDES) $<


_TetGen.so: tetgen_wrap.o
	$(CC) $(CXXFLAGS) -shared -o _TetGen.so tetgen_wrap.o $(INCLUDES) -L . $(LIBS)

tetgen_wrap.cc:tetgen.i
	swig -v -o tetgen_wrap.cc $(INCLUDES) -python -c++ tetgen.i