tools/Makefile

Wed, 03 Apr 2024 12:14:45 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 03 Apr 2024 12:14:45 +0200
changeset 656
ca47c742a25d
parent 640
0f6daacdd597
permissions
-rw-r--r--

One-wire thread is now the first to start. The devices_detect() function now uses the detected one-wire linked list instead of scan the sysfs. Base code for ds2413 added in the state table, needs rework.

# Makefile for the mbsePi-apps/thermferm.

include ../Makefile.global

OTHER		= Makefile rc.thermferm default

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

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

all:


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

install:
		mkdir -p ${DESTDIR}/etc/rc.d ${DESTDIR}/etc/default
		${INSTALL} -c -g root -o root -m 0755 rc.thermferm ${DESTDIR}/etc/rc.d/rc.thermferm
		${INSTALL} -c -g root -o root -m 0644 default ${DESTDIR}/etc/default/thermferm

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

depend:

mercurial