Files
igl/examples/glslversion/Makefile
T
2014-06-24 22:12:19 -04:00

25 lines
381 B
Makefile

.PHONY: all
# Shared flags etc.
include ../../build/Makefile.conf
all: example
.PHONY: example
igl_lib=../../
CFLAGS+=-g
inc=-I$(igl_lib)/include
lib=$(OPENGL_LIB) $(GLUT_LIB) -L$(igl_lib)/lib -ligl
example: example.o
g++ $(CFLAGS) -o example example.o $(lib)
example.o: example.cpp
g++ $(CFLAGS) -c example.cpp -o example.o $(inc)
clean:
rm -f example.o
rm -f example