Files
igl/examples/glut_speed_test/Makefile
T
2015-06-12 16:02:15 -04:00

25 lines
371 B
Makefile

.PHONY: all
all: example
# Shared flags etc.
include ../Makefile.conf
.PHONY: example
igl_lib=../../
CFLAGS+=-g -Wall
INC=$(LIBIGL_INC)
LIB=$(OPENGL_LIB) $(GLUT_LIB) $(LIBIGL_LIB)
example: example.o
g++ $(CFLAGS) -o example example.o $(LIB)
example.o: example.cpp
g++ $(CFLAGS) $(deps) -c example.cpp -o example.o $(INC)
clean:
rm -f example.o
rm -f example