eqemu
view Makefile @ 4:3d3656360a82
rendering properly, added picking, almost done...
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 17 Jul 2014 08:51:17 +0300 |
parents | 48dce4ee4850 |
children | 9b5bb05ae53a |
line source
1 src = $(wildcard src/*.cc)
2 obj = $(src:.cc=.o)
3 dep = $(obj:.o=.d)
4 bin = eqdummy
6 CFLAGS = -pedantic -Wall -g
7 CXXFLAGS = $(CFLAGS)
8 LDFLAGS = -lGL -lGLU -lGLEW -lX11 -lm -lpthread
10 $(bin): $(obj)
11 $(CXX) -o $@ $(obj) $(LDFLAGS)
13 -include $(dep)
15 %.d: %.cc
16 @$(CPP) $< $(CXXFLAGS) -MM -MT $(@:.d=.o) >$@
18 .PHONY: clean
19 clean:
20 rm -f $(obj) $(bin)