# HG changeset patch # User Michiel Broek # Date 1400316616 -7200 # Node ID 442357970a34e06bf66618bca47b6fb93e2eefef # Parent 19422d958768f493a809cc691ae580c1aa49d5ce More Makefiles made simpeler. Version 0.0.6 diff -r 19422d958768 -r 442357970a34 configure --- a/configure Sat May 17 10:41:49 2014 +0200 +++ b/configure Sat May 17 10:50:16 2014 +0200 @@ -2032,7 +2032,7 @@ PACKAGE="mbsePi-apps" -VERSION="0.0.5" +VERSION="0.0.6" COPYRIGHT="Copyright (C) 2014 Michiel Broek, All Rights Reserved" CYEARS="2014" diff -r 19422d958768 -r 442357970a34 configure.ac --- a/configure.ac Sat May 17 10:41:49 2014 +0200 +++ b/configure.ac Sat May 17 10:50:16 2014 +0200 @@ -8,7 +8,7 @@ dnl General settings dnl After changeing the version number, run autoconf! PACKAGE="mbsePi-apps" -VERSION="0.0.5" +VERSION="0.0.6" COPYRIGHT="Copyright (C) 2014 Michiel Broek, All Rights Reserved" CYEARS="2014" AC_SUBST(PACKAGE) diff -r 19422d958768 -r 442357970a34 coolers/Makefile --- a/coolers/Makefile Sat May 17 10:41:49 2014 +0200 +++ b/coolers/Makefile Sat May 17 10:50:16 2014 +0200 @@ -2,9 +2,9 @@ include ../Makefile.global -SRCS = coolers.c mosquitto.c sensors.c -HDRS = coolers.h mosquitto.h sensors.h -OBJS = coolers.o mosquitto.o sensors.o +SRCS = $(wildcard *.c) +HDRS = $(wildcard *.h) +OBJS = $(SRCS:.c=.o) SLIBS = -lpthread ../lib/libmbse.a TARGET = coolers OTHER = Makefile @@ -55,6 +55,6 @@ # DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT # Dependencies generated by make depend coolers.o: ../lib/mbselib.h coolers.h mosquitto.h sensors.h +sensors.o: ../lib/mbselib.h sensors.h mosquitto.o: ../lib/mbselib.h mosquitto.h -sensors.o: ../lib/mbselib.h sensors.h # End of generated dependencies diff -r 19422d958768 -r 442357970a34 lib/Makefile --- a/lib/Makefile Sat May 17 10:41:49 2014 +0200 +++ b/lib/Makefile Sat May 17 10:50:16 2014 +0200 @@ -44,11 +44,11 @@ # DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT # Dependencies generated by make depend -xutil.o: ../config.h mbselib.h -rdconfig.o: ../config.h mbselib.h +rc-switch.o: ../config.h mbselib.h +lock.o: ../config.h mbselib.h +logger.o: ../config.h mbselib.h lcd-pcf8574.o: ../config.h mbselib.h -rc-switch.o: ../config.h mbselib.h +xutil.o: ../config.h mbselib.h dht11.o: ../config.h mbselib.h -logger.o: ../config.h mbselib.h -lock.o: ../config.h mbselib.h +rdconfig.o: ../config.h mbselib.h # End of generated dependencies