brewco/Makefile

changeset 487
d5bc44183aa4
parent 486
5a237a99a793
child 488
bee1f70fb42b
--- a/brewco/Makefile	Thu Feb 25 22:42:54 2016 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-# Makefile for the mbsePi-apps/brewco.
-
-include ../Makefile.global
-
-SRCS		= $(wildcard *.c)
-HDRS		= $(wildcard *.h)
-OBJS		= $(SRCS:.c=.o)
-SLIBS		= -lpthread -lz -lrt
-TARGET		= brewco
-OTHER		= Makefile
-
-#############################################################################
-
-.c.o:
-		${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
-
-all:		${TARGET}
-
-brewco:	${OBJS} ${SLIBS}
-		${CC} -o brewco ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
-
-clean:
-		rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak
-
-install:	all
-		${INSTALL} -c -s -g root -o root -m 0755 brewco ${BINDIR}
-
-filelist:	Makefile
-		BASE=`pwd`; \
-		BASE=`basename $${BASE}`; \
-		(for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist
-
-depend:
-	@rm -f Makefile.bak; \
-	mv Makefile Makefile.bak; \
-	sed -e '/^# DO NOT DELETE/,$$d' Makefile.bak >Makefile; \
-	${ECHO} '# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT' \
-		>>Makefile; \
-	${ECHO} '# Dependencies generated by make depend' >>Makefile; \
-	for f in ${SRCS}; \
-	do \
-		${ECHO} "Dependencies for $$f:\c"; \
-		${ECHO} "`basename $$f .c`.o:\c" >>Makefile; \
-		for h in `sed -n -e \
-			's/^#[ 	]*include[ 	]*"\([^"]*\)".*/\1/p' $$f`; \
-		do \
-			${ECHO} " $$h\c"; \
-			${ECHO} " $$h\c" >>Makefile; \
-		done; \
-		${ECHO} " done."; \
-		${ECHO} "" >>Makefile; \
-	done; \
-	${ECHO} '# End of generated dependencies' >>Makefile
-
-# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT
-# Dependencies generated by make depend
-rdrecipes.o: brewco.h rdrecipes.h util.h xutil.h
-setup.o: brewco.h slcd.h setup.h prompt.h xutil.h keyboard.h rdconfig.h rdrecipes.h
-devices.o: brewco.h devices.h util.h xutil.h keyboard.h slcd.h
-xutil.o: brewco.h xutil.h
-brewco.o: brewco.h rdconfig.h rdsession.h rdrecipes.h util.h xutil.h lcd-pcf8574.h slcd.h lock.h devices.h keyboard.h simulator.h prompt.h setup.h logger.h
-lock.o: lock.h brewco.h
-logger.o: logger.h brewco.h util.h xutil.h
-lcd-pcf8574.o: brewco.h lcd-pcf8574.h slcd.h
-pid.o: brewco.h pid.h util.h
-util.o: brewco.h util.h slcd.h
-keyboard.o: brewco.h lcd-pcf8574.h slcd.h keyboard.h
-simulator.o: brewco.h simulator.h
-rdconfig.o: rdconfig.h brewco.h util.h xutil.h
-rdsession.o: brewco.h rdsession.h util.h xutil.h
-slcd.o: brewco.h slcd.h util.h xutil.h
-prompt.o: brewco.h slcd.h prompt.h
-# End of generated dependencies

mercurial