|
1 # Makefile for the mbsePi-apps/thermferm. |
|
2 |
|
3 include ../Makefile.global |
|
4 |
|
5 #SRCS = $(wildcard *.c) |
|
6 #HDRS = $(wildcard *.h) |
|
7 #OBJS = $(SRCS:.c=.o) |
|
8 #SLIBS = -lpthread |
|
9 #TARGET = thermferm |
|
10 OTHER = Makefile thermferm.init |
|
11 |
|
12 ############################################################################# |
|
13 |
|
14 .c.o: |
|
15 ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< |
|
16 |
|
17 all: |
|
18 |
|
19 |
|
20 clean: |
|
21 rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak |
|
22 |
|
23 install: |
|
24 # ${INSTALL} -c -s -g root -o root -m 0755 thermferm.init /etc/init.d/thermferm |
|
25 |
|
26 filelist: Makefile |
|
27 BASE=`pwd`; \ |
|
28 BASE=`basename $${BASE}`; \ |
|
29 (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |
|
30 |
|
31 depend: |