eqemu
view Makefile @ 7:e9ab4861536d
added glow
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 18 Jul 2014 04:24:53 +0300 |
parents | 3d3656360a82 |
children | 819c7ebb1bec |
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 -limago
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)