-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
executable file
·22 lines (13 loc) · 1.7 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CC = g++
DFLAG = -DDEBUG
CFLAGS = -O1 -O2 -O3 -Os
VTK_LIBS_DIR = /usr/local/lib/
VTK_INCLUDE_DIR = /usr/local/include/vtk-6.2/
VTK_DYN_LIBS = -lvtkImagingCore-6.2 -lvtkCommonMisc-6.2 -lvtkFiltersSources-6.2 -lvtkFiltersCore-6.2 -lvtkImagingFourier-6.2 -lvtkImagingGeneral-6.2 -lvtkCommonDataModel-6.2 -lvtkCommonCore-6.2 -lvtkCommonTransforms-6.2 -lvtkIOLegacy-6.2 -lvtkCommonExecutionModel-6.2 -lvtkIOCore-6.2 -lvtkIOImage-6.2 -lvtkRenderingFreeType-6.2 -lvtkFiltersGeneral-6.2
VTK_STA_LIBS = $(VTK_LIBS_DIR)libvtkImagingCore-6.2.a $(VTK_LIBS_DIR)libvtkFiltersSources-6.2.a $(VTK_LIBS_DIR)libvtkFiltersCore-6.2.a $(VTK_LIBS_DIR)libvtkImagingFourier-6.2.a $(VTK_LIBS_DIR)libvtkImagingGeneral-6.2.a $(VTK_LIBS_DIR)libvtkCommonDataModel-6.2.a $(VTK_LIBS_DIR)libvtkCommonTransforms-6.2.a $(VTK_LIBS_DIR)libvtkCommonCore-6.2.a $(VTK_LIBS_DIR)libvtkIOLegacy-6.2.a $(VTK_LIBS_DIR)libvtkCommonExecutionModel-6.2.a $(VTK_LIBS_DIR)libvtkIOCore-6.2.a $(VTK_LIBS_DIR)libvtkIOImage-6.2.a $(VTK_LIBS_DIR)libvtkCommonSystem-6.2.a $(VTK_LIBS_DIR)libvtksys-6.2.a $(VTK_LIBS_DIR)libvtkImagingStencil-6.2.a $(VTK_LIBS_DIR)libvtkCommonMisc-6.2.a $(VTK_LIBS_DIR)libvtkCommonTransforms-6.2.a $(VTK_LIBS_DIR)libvtkCommonMath-6.2.a $(VTK_LIBS_DIR)libvtktiff-6.2.a $(VTK_LIBS_DIR)libvtkjpeg-6.2.a $(VTK_LIBS_DIR)libvtkzlib-6.2.a $(VTK_LIBS_DIR)libvtkRenderingFreeType-6.2.a $(VTK_LIBS_DIR)libvtkFiltersGeneral-6.2.a
debug: 3DSkell.cpp
@$(CC) $(DFLAG) $(CFLAGS) ssThinning.cpp 3DSkell.cpp -o 3DSkell $(VTK_DYN_LIBS) -I$(VTK_INCLUDE_DIR)
dynamic: MitoThinning.cpp
@$(CC) $(CFLAGS) ssThinning.cpp 3DSkell.cpp -o 3DSkell $(VTK_DYN_LIBS) -I$(VTK_INCLUDE_DIR)
static:
@$(CC) $(CFLAGS) ssThinning.cpp 3DSkell.cpp -o 3DSkell $(VTK_STA_LIBS) -I$(VTK_INCLUDE_DIR)