volmetrics
view Makefile @ 18:4e02e18e70ef
quick backup - shaders 4 transfer function preview
author | Eleni Maria Stea <elene.mst@gmail.com> |
---|---|
date | Mon, 24 Mar 2014 23:28:08 +0200 |
parents | 1fbbe10c8e08 |
children | df4a277adb82 |
line source
1 src = $(wildcard src/*.cc src/math/*.cc src/shaders/*.cc)
2 obj = $(src:.cc=.o)
3 dep = $(obj:.o=.d)
4 bin = test1
6 dbg = -g
7 opt = -O0
8 inc = -Isrc -I/usr/local/include -I/usr/local/lib
10 CXX = g++
11 CXXFLAGS = -std=c++11 -pedantic -Wall $(dbg) $(opt) $(inc)
12 LDFLAGS = -lGL -lGLU -lGLEW -lglut -limago -lm -lmetasurf -lglui
14 $(bin): $(obj)
15 $(CXX) -o $@ $(obj) $(LDFLAGS)
17 -include $(dep)
19 %.d: %.cc
20 @$(CPP) $(CXXFLAGS) $< -MM -MT $(@:.d=.o) >$@
22 .PHONY: clean
23 clean:
24 rm -f $(obj) $(bin) $(dep)