tools/Makefile

changeset 574
b436e3d8d83a
child 744
b8ccc85675a0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/Makefile	Wed Dec 18 13:22:19 2019 +0100
@@ -0,0 +1,27 @@
+# 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