1 # Makefile for the mbsePi-apps/thermferm. |
1 # Makefile for the mbsePi-apps/thermferm. |
2 |
2 |
3 include ../Makefile.global |
3 include ../Makefile.global |
4 |
4 |
5 OTHER = Makefile rc.slackware default |
5 OTHER = Makefile rc.thermferm default |
6 |
6 |
7 ############################################################################# |
7 ############################################################################# |
8 |
8 |
9 .c.o: |
9 .c.o: |
10 ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< |
10 ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< |
15 clean: |
15 clean: |
16 rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak |
16 rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak |
17 |
17 |
18 install: |
18 install: |
19 mkdir -p ${DESTDIR}/etc/rc.d ${DESTDIR}/etc/default |
19 mkdir -p ${DESTDIR}/etc/rc.d ${DESTDIR}/etc/default |
20 ${INSTALL} -c -g root -o root -m 0755 rc.slackware ${DESTDIR}/etc/rc.d/rc.thermferm |
20 ${INSTALL} -c -g root -o root -m 0755 rc.thermferm ${DESTDIR}/etc/rc.d/rc.thermferm |
21 ${INSTALL} -c -g root -o root -m 0644 default ${DESTDIR}/etc/default/thermferm |
21 ${INSTALL} -c -g root -o root -m 0644 default ${DESTDIR}/etc/default/thermferm |
22 |
22 |
23 filelist: Makefile |
23 filelist: Makefile |
24 BASE=`pwd`; \ |
24 BASE=`pwd`; \ |
25 BASE=`basename $${BASE}`; \ |
25 BASE=`basename $${BASE}`; \ |