Scripting and control environment for stage lighting
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Makefile
|
|
|
|
|
|
|
|
PREFIX?= /usr/local
|
|
|
|
|
|
|
|
OBJS= main.o vm.o plugins.o dmx.o midi.o beatdetect.o fft.o map3d.o mouse.o
|
|
|
|
SRCS= main.c vm.c plugins.c dmx.c midi.c beatdetect.c fft.c map3d.c mouse.c
|
|
|
|
|
|
|
|
OBJS+= abi.o
|
|
|
|
SRCS+= abi.c
|
|
|
|
|
|
|
|
COMMONOBJS= mem.o hash.o
|
|
|
|
COMMONDIR= ../common
|
|
|
|
|
|
|
|
INCDIR= ../include
|
|
|
|
|
|
|
|
CFLAGS+= -Wall -Werror
|
|
|
|
CPPFLAGS+= -I${INCDIR}
|
|
|
|
LDLIBS+= -lm
|
|
|
|
|
|
|
|
PROGOBJS= ${OBJS} ${COMMONOBJS:S/^/${COMMONDIR}\//}
|
|
|
|
|
|
|
|
|
|
|
|
lsi: ${OBJS}
|
|
|
|
${LINK.c} -o ${.TARGET} ${PROGOBJS} ${LDLIBS}
|
|
|
|
|
|
|
|
abi.c: abispec makeabi
|
|
|
|
./makeabi abispec
|
|
|
|
|
|
|
|
abi.lh: abispec makeabi
|
|
|
|
./makeabi abispec
|
|
|
|
|
|
|
|
install: lsi
|
|
|
|
${INSTALL} -d ${PREFIX}/bin
|
|
|
|
${INSTALL} -c lsi ${PREFIX}/bin/lsi
|
|
|
|
|
|
|
|
depend:
|
|
|
|
mkdep -- ${CFLAGS} ${CPPFLAGS} ${SRCS}
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ${OBJS} lsi abi.c abi.lh
|