proj_plot
diff Makefile @ 0:e467998dcc64
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 24 Jan 2015 16:36:34 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Sat Jan 24 16:36:34 2015 +0200 1.3 @@ -0,0 +1,13 @@ 1.4 +src = $(wildcard *.cc) 1.5 +obj = $(src:.cc=.o) 1.6 +bin = proj_plot 1.7 + 1.8 +CXXFLAGS = -pedantic -Wall -g 1.9 +LDFLAGS = -lGL -lglut -lm -lvmath -ldrawtext 1.10 + 1.11 +$(bin): $(obj) 1.12 + $(CXX) -o $@ $(obj) $(LDFLAGS) 1.13 + 1.14 +.PHONY: clean 1.15 +clean: 1.16 + rm -f $(obj) $(bin)