tools/Makefile

Mon, 18 May 2020 11:03:40 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 18 May 2020 11:03:40 +0200
changeset 606
798dd0c4fd00
parent 559
2bcccc6976f9
child 612
452f79a5ad71
permissions
-rw-r--r--

Version 0.9.9 Don't flag fermenter death if the unit is turned off. Fix a wrong log message. Send unit data even if the unit is turned off.

# Makefile for the mbsePi-apps/thermferm.

include ../Makefile.global

#SRCS		= $(wildcard *.c)
#HDRS		= $(wildcard *.h)
#OBJS		= $(SRCS:.c=.o)
#SLIBS		= -lpthread
#TARGET		= thermferm
OTHER		= Makefile thermferm.init

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

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

all:


clean:
		rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak

install:
		${INSTALL} -c -g root -o root -m 0755 thermferm.init /etc/init.d/thermferm
		[ -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