Makefile

Thu, 10 Jan 2019 16:33:42 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 10 Jan 2019 16:33:42 +0100
changeset 569
9c69d43bfb06
parent 3
e854e3d704de
permissions
-rw-r--r--

Version 0.9.0. Implemented DCMD via mqtt to set stage, mode, setpoint low and high. Implemeted DCMD via mqtt to set heater, cooler, fan and light state. Implemented DCMD via mqtt to set product code and name. Set the PID's in fridge mode without idle range offset, that was an old leftover setting that was obsolete.

3
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
1 # Top-level makefile for mbsePi-apps.
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
2
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
3 include Makefile.global
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
4
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
5 OTHER = ChangeLog COPYING Makefile Makefile.global.in aclocal.m4 \
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
6 config.h.in configure configure.ac
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
7 TARFILE = ${PACKAGE}-${VERSION}.tar.bz2
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
8
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
9 ###############################################################################
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
10
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
11
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
12 all depend:
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
13 for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
14
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
15 install:
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
16 for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
17
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
18 dist tar: ${TARFILE}
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
19
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
20 clean:
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
21 for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
22 rm -f .filelist core ${TARFILE} config.h Makefile.global
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
23
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
24 ${TARFILE}: .filelist
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
25 cd ..; ln -s ${PACKAGE} ${PACKAGE}-${VERSION} ; rm -f ${TARFILE}; \
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
26 ${TAR} cvTf ./${PACKAGE}-${VERSION}/.filelist - | bzip2 >${TARFILE} ; \
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
27 rm -f ${PACKAGE}-${VERSION}
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
28
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
29 .filelist filelist:
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
30 (for f in ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$$f; done) >.filelist
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
31 for d in ${SUBDIRS}; do (cd $$d && ${MAKE} filelist && cat filelist >>../.filelist) || exit; done;
e854e3d704de Basic package is complete
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
32

mercurial