tools/Makefile

Sat, 18 Apr 2020 15:56:40 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 18 Apr 2020 15:56:40 +0200
changeset 657
a5ade45597d8
parent 574
b436e3d8d83a
child 744
b8ccc85675a0
permissions
-rw-r--r--

More code cleanup

# 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