eqemu
view Makefile @ 2:48dce4ee4850
the fake device is working
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 15 Jul 2014 14:37:51 +0300 |
parents | 01fb0dee8a92 |
children | 3d3656360a82 |
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 -lglut -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)