Files
igl/examples/path_tests/Makefile
T
2012-02-10 16:07:17 +00:00

23 lines
313 B
Makefile

.PHONY: all
all: example
.PHONY: example
igl_lib=../../
CFLAGS=-g
inc=-I$(igl_lib)/include
lib=-L$(igl_lib)/lib -ligl
example: example.o
g++ $(CFLAGS) -o example example.o $(lib)
rm example.o
example.o: example.cpp
g++ $(CFLAGS) -c example.cpp -o example.o $(inc)
clean:
rm -f example.o
rm -f example