|
1 # Makefile for the mbsePi-apps/thermferm. |
|
2 |
|
3 include ../Makefile.global |
|
4 |
|
5 OTHER = Makefile bmsd.init |
|
6 |
|
7 ############################################################################# |
|
8 |
|
9 .c.o: |
|
10 ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< |
|
11 |
|
12 all: |
|
13 |
|
14 |
|
15 clean: |
|
16 rm -f filelist Makefile.bak |
|
17 |
|
18 install: |
|
19 ${INSTALL} -c -g root -o root -m 0755 bmsd.init /etc/init.d/bmsd |
|
20 [ -x /bin/systemctl ] && /bin/systemctl daemon-reload |
|
21 |
|
22 filelist: Makefile |
|
23 BASE=`pwd`; \ |
|
24 BASE=`basename $${BASE}`; \ |
|
25 (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |
|
26 |
|
27 depend: |