tools/Makefile

Sun, 23 May 2021 16:41:35 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 23 May 2021 16:41:35 +0200
changeset 752
f68e3bbc1ada
parent 744
b8ccc85675a0
child 854
548e5e9af0c6
permissions
-rw-r--r--

Fermentables, hops, miscs and yeast now have tests against the added moment with the brewing stage. Added to inventory edit rows, delete rows, and pick choices for the moment to add or edit. Some more popups to explain certain blocks.

# 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:
		@if [ -x /lib/systemd/systemd ]; then \
			${INSTALL} -c -g root -o root -m 0755 init.debian /etc/init.d/bmsd ; \
			echo "${INSTALL} -c -g root -o root -m 0755 init.debian /etc/init.d/bmsd" ; \
			[ -x /bin/systemctl ] && /bin/systemctl daemon-reload ; \
			echo "[ -x /bin/systemctl ] && /bin/systemctl daemon-reload" ; \
		elif [ -f /etc/slackware-version ]; then \
			${INSTALL} -c -g root -o root -m 0755 init.slackware /etc/rc.d/init.d/bmsd ; \
			echo "${INSTALL} -c -g root -o root -m 0755 init.slackware /etc/rc.d/init.d/bmsd" ; \
			${INSTALL} -c -g root -o root -m 0755 setup.slackware /var/log/setup/setup.bmsd ; \
			echo "${INSTALL} -c -g root -o root -m 0755 setup.slackware /var/log/setup/setup.bmsd" ; \
		else \
			echo "Unsupported distribution" ; \
		fi

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

depend:

mercurial