tools/Makefile

Tue, 17 Mar 2020 14:47:34 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 17 Mar 2020 14:47:34 +0100
changeset 638
736c8d29bc87
parent 574
b436e3d8d83a
child 744
b8ccc85675a0
permissions
-rw-r--r--

Binding the data earlier to try to prevent a race condition.

# 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