Mercurial > hg > index.fcgi > lsonify > lsonify-1pba
diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Sun May 17 02:32:01 2009 -0700 1.3 @@ -0,0 +1,35 @@ 1.4 +JACK_CFLAGS := $(shell pkg-config --cflags jack) 1.5 +JACK_LDFLAGS := $(shell pkg-config --libs jack) 1.6 + 1.7 +CFLAGS = -g -Wall ${JACK_CFLAGS} 1.8 +LDFLAGS = ${JACK_LDFLAGS} 1.9 + 1.10 +CC = gcc 1.11 + 1.12 +SRC = metro.c 1.13 +OBJ = ${SRC:.c=.o} 1.14 + 1.15 +TARGET := lsonify 1.16 + 1.17 +.PHONY: all clean options 1.18 + 1.19 +all: options ${TARGET} 1.20 + 1.21 +options: 1.22 + @echo build options: 1.23 + @echo "CFLAGS = ${CFLAGS}" 1.24 + @echo "LDFLAGS = ${LDFLAGS}" 1.25 + @echo "CC = ${CC}" 1.26 + 1.27 +%.o: %.c 1.28 + @echo CC $< 1.29 + @${CC} -c ${CFLAGS} $< 1.30 + 1.31 +clean: 1.32 + @echo rm ${OBJ} ${TARGET} 1.33 + @rm ${OBJ} ${TARGET} 1.34 + 1.35 +${TARGET}: ${OBJ} 1.36 + @echo CC -o $@ 1.37 + @${CC} -o $@ ${OBJ} ${LDFLAGS} 1.38 +