Browse Source

makefile, h2pair and todos before trying to convert all

Former-commit-id: 2ccf3567152e89c80fd21451ea15ab459f84458e
jalec 13 years ago
parent
commit
a982a13696
3 changed files with 8 additions and 3 deletions
  1. 5 1
      Makefile
  2. 2 2
      h2pair.sh
  3. 1 0
      todos.txt

+ 5 - 1
Makefile

@@ -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
 

+ 2 - 2
h2pair.sh

@@ -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

+ 1 - 0
todos.txt

@@ -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