stratgame
view level/Makefile @ 0:86b53f76899f
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 21 May 2012 19:07:40 +0300 |
parents | |
children | 55a43e27339a |
line source
1 ccsrc = $(wildcard src/*.cc)
2 obj = $(ccsrc:.cc=.o)
3 dep = $(obj:.o=.d)
4 lib_a = liblevel.a
6 CXXFLAGS = -std=c++0x -pedantic -Wall -g
8 $(lib_a): $(obj)
9 $(AR) rcs $@ $(obj)
11 -include $(dep)
13 %.d: %.cc
14 @$(CPP) $(CXXFLAGS) $< -MM -MT $(@:.d=.o) >$@
16 .PHONY: clean
17 clean:
18 rm -f $(obj) $(bin) $(dep)