Sat, 25 Apr 2020 20:31:31 +0200
Version 0.9.8. Added extra path to the fonts for Debian buster. Changed the PID to work on Proportional on Measurement. Added loops so that it looks like the PID is running at 100 mSec intervals.
551
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
1 | # Makefile for the mbsePi-apps/thermferm. |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
2 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
3 | include ../Makefile.global |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
4 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
5 | #SRCS = $(wildcard *.c) |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
6 | #HDRS = $(wildcard *.h) |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
7 | #OBJS = $(SRCS:.c=.o) |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
8 | #SLIBS = -lpthread |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
9 | #TARGET = thermferm |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
10 | OTHER = Makefile thermferm.init |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
11 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
12 | ############################################################################# |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
13 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
14 | .c.o: |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
15 | ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
16 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
17 | all: |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
18 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
19 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
20 | clean: |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
21 | rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
22 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
23 | install: |
559 | 24 | ${INSTALL} -c -g root -o root -m 0755 thermferm.init /etc/init.d/thermferm |
25 | [ -x /bin/systemctl ] && /bin/systemctl daemon-reload | |
551
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
26 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
27 | filelist: Makefile |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
28 | BASE=`pwd`; \ |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
29 | BASE=`basename $${BASE}`; \ |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
30 | (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
31 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
32 | depend: |