Files
igl/examples/MatlabWorkspace/Makefile
T
dolga 21f9758feb added a few specializations
readOFF supports vertex normals


Former-commit-id: 7847832f5d
2012-03-05 12:50:53 +00:00

28 lines
564 B
Makefile

.PHONY: all
IGL=../../
IGL_LIB=-L$(IGL)/lib -ligl
IGL_INC=-I$(IGL)/include
EIGEN3_INC=-I/usr/local/include/eigen3 -I/usr/local/include/eigen3/unsupported -I/opt/local/include/eigen3 -I/opt/local/include/eigen3/unsupported
MATLAB_INC=-I$(MATLAB)/extern/include/
MATLAB_LIB=-L$(MATLAB)/bin/maci64 -lmx -lmat
LIB+=$(IGL_LIB) $(MATLAB_LIB)
INC+=$(IGL_INC) $(EIGEN3_INC) $(MATLAB_INC)
all: example
CFLAGS += -g
example: example.o
g++ -o example example.o $(LIB)
example.o: example.cpp
g++ $(CFLAGS) -o $@ -c $< $(INC)
clean:
rm -f example.o
rm -f example