bluetop/Makefile
2024-10-02 18:03:28 +13:00

25 lines
363 B
Makefile

all: bluetopd
include config.mk
PREFIX = /usr/local
DC = ${_DC}
CFLAGS = ${_CFLAGS} -wi
OBJS = ${_OBJS}
bluetopd: ${OBJS}
${DC} ${_LDFLAGS} -of=$@ ${OBJS}
.SUFFIXES: .d .o
.d.o:
${DC} ${CFLAGS} -of=$@ -c $<
clean:
rm -f bluetopd ${OBJS}
install: bluetopd
install -Dm755 bluetopd ${DESTDIR}${PREFIX}/bin/bluetopd
.PHONY: all clean install