summaryrefslogtreecommitdiff
path: root/Makefile
blob: 015ee2799a8f3cc2c8ef9141db451898683994c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CFLAGS = -Wall -Wextra -pedantic
LDFLAGS = -lbluetooth -lcwiid

all: bal mpcal mplog wibble

bal: bal.c
	${CC} ${CFLAGS} ${LDFLAGS} -o $@ $<

mpcal: mpcal.c
	${CC} ${CFLAGS} ${LDFLAGS} -o $@ $<

mplog: mplog.c
	${CC} ${CFLAGS} ${LDFLAGS} -lm -o $@ $<

wibble: wibble.c
	${CC} ${CFLAGS} ${LDFLAGS} -lm -o $@ $<

clean:
	rm -f bal mplog wibble

.PHONY: all clean