Makefile 475 B

1234567891011121314151617181920212223
  1. .PHONY: all
  2. # Shared flags etc.
  3. all: example
  4. .PHONY: example
  5. include ../Makefile.conf
  6. CFLAGS+=-std=c++11 -g -Wno-deprecated-declarations
  7. INC=$(LIBIGL_INC) $(ANTTWEAKBAR_INC) $(EIGEN3_INC)
  8. LIB=$(OPENGL_LIB) $(GLUT_LIB) $(ANTTWEAKBAR_LIB) $(LIBIGL_LIB)
  9. example: example.o
  10. g++ $(OPENMP) $(AFLAGS) $(CFLAGS) -o example example.o $(LIB)
  11. example.o: example.cpp
  12. g++ $(OPENMP) $(AFLAGS) $(CFLAGS) -c example.cpp -o example.o $(INC)
  13. clean:
  14. rm -f example.o
  15. rm -f example