tools/Makefile

Wed, 18 Dec 2019 13:22:19 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 18 Dec 2019 13:22:19 +0100
changeset 574
b436e3d8d83a
child 744
b8ccc85675a0
permissions
-rw-r--r--

Added init script

# Makefile for the mbsePi-apps/thermferm.

include ../Makefile.global

OTHER		= Makefile bmsd.init

#############################################################################

.c.o:
		${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<

all:


clean:
		rm -f filelist Makefile.bak

install:
		${INSTALL} -c -g root -o root -m 0755 bmsd.init /etc/init.d/bmsd
		[ -x /bin/systemctl ] && /bin/systemctl daemon-reload

filelist:	Makefile
		BASE=`pwd`; \
		BASE=`basename $${BASE}`; \
		(for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist

depend:

mercurial