2011-12-05 19:45:34 -02:00
|
|
|
-include .config
|
|
|
|
|
|
2011-12-05 21:06:53 -02:00
|
|
|
CFLAGS += -Wall
|
2011-12-05 19:45:34 -02:00
|
|
|
LDLIBS += -lm
|
2011-12-05 17:36:31 -02:00
|
|
|
|
2012-06-01 08:54:49 -03:00
|
|
|
.PHONY: clean dist
|
|
|
|
|
|
2011-12-05 21:06:30 -02:00
|
|
|
bpm: bpm.o
|
2011-12-05 17:36:31 -02:00
|
|
|
|
|
|
|
|
clean:
|
2011-12-05 21:06:53 -02:00
|
|
|
rm -f bpm *.o
|
2012-06-01 08:54:49 -03:00
|
|
|
|
|
|
|
|
dist:
|
|
|
|
|
mkdir -p dist
|
|
|
|
|
V=$$(git describe) && git archive --prefix=bpm-tools-$$V/ HEAD \
|
|
|
|
|
| gzip > dist/bpm-tools-$$V.tar.gz
|