Former-commit-id: 2ccf3567152e89c80fd21451ea15ab459f84458e
@@ -12,11 +12,15 @@ all: LFLAGS +=
all: CFLAGS += -O3 -DNDEBUG
debug: CFLAGS += -g
+# Eigen dependency
+EIGEN3_INC=-I/usr/local/include/eigen3 -I/usr/local/include/eigen3/unsupported
+INC+=$(EIGEN3_INC)
+
+## OpenGL dependency
#LIB+=-framework OpenGL
#LIB+=-framework GLUT
#LIB+=-framework AppKit
-
obj:
mkdir -p obj
@@ -81,8 +81,8 @@ $after" | sed '1,/endif/d'`;
# include \"$filename.cpp\"
#endif
-#endif">before-"$filename".h
+#endif"> "$filename".h
echo "#include \"$filename.h\"
-$after">after-"$filename".cpp
+$after"> "$filename".cpp
done
@@ -3,3 +3,4 @@
- standardize headers-only vs. static library
- clean up tga.h
- standardize igl includes #include "cotangent.h" or #include <cotangent.h>
+- implement an IGL_NO_OPENGL and IGL_NO_GLUT compiler option