Mercurial > hg > index.fcgi > lsonify > lsonify-1pba
comparison Makefile @ 1:46d4c88917a2
add Makefile; rename string to refer to "lsonify" instead of jack_metro; connect to physical input ports on startup
author | paulo@localhost |
---|---|
date | Sun, 17 May 2009 02:32:01 -0700 |
parents | |
children | ff028323c114 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:34cab6f7cc59 |
---|---|
1 JACK_CFLAGS := $(shell pkg-config --cflags jack) | |
2 JACK_LDFLAGS := $(shell pkg-config --libs jack) | |
3 | |
4 CFLAGS = -g -Wall ${JACK_CFLAGS} | |
5 LDFLAGS = ${JACK_LDFLAGS} | |
6 | |
7 CC = gcc | |
8 | |
9 SRC = metro.c | |
10 OBJ = ${SRC:.c=.o} | |
11 | |
12 TARGET := lsonify | |
13 | |
14 .PHONY: all clean options | |
15 | |
16 all: options ${TARGET} | |
17 | |
18 options: | |
19 @echo build options: | |
20 @echo "CFLAGS = ${CFLAGS}" | |
21 @echo "LDFLAGS = ${LDFLAGS}" | |
22 @echo "CC = ${CC}" | |
23 | |
24 %.o: %.c | |
25 @echo CC $< | |
26 @${CC} -c ${CFLAGS} $< | |
27 | |
28 clean: | |
29 @echo rm ${OBJ} ${TARGET} | |
30 @rm ${OBJ} ${TARGET} | |
31 | |
32 ${TARGET}: ${OBJ} | |
33 @echo CC -o $@ | |
34 @${CC} -o $@ ${OBJ} ${LDFLAGS} | |
35 |