tools/Makefile

Wed, 25 Jul 2018 12:24:17 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 25 Jul 2018 12:24:17 +0200
changeset 551
3721f9c08843
child 558
66656231c084
permissions
-rw-r--r--

Versie 0.8.4. Init script toegevoegd inclusief make install.

# Makefile for the mbsePi-apps/thermferm.

include ../Makefile.global

#SRCS		= $(wildcard *.c)
#HDRS		= $(wildcard *.h)
#OBJS		= $(SRCS:.c=.o)
#SLIBS		= -lpthread
#TARGET		= thermferm
OTHER		= Makefile thermferm.init

#############################################################################

.c.o:
		${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<

all:


clean:
		rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak

install:
#		${INSTALL} -c -s -g root -o root -m 0755 thermferm.init /etc/init.d/thermferm

filelist:	Makefile
		BASE=`pwd`; \
		BASE=`basename $${BASE}`; \
		(for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist

depend:

mercurial