More Makefiles made simpeler. Version 0.0.6

Sat, 17 May 2014 10:50:16 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 17 May 2014 10:50:16 +0200
changeset 39
442357970a34
parent 38
19422d958768
child 40
dafbbd5e9922

More Makefiles made simpeler. Version 0.0.6

configure file | annotate | diff | comparison | revisions
configure.ac file | annotate | diff | comparison | revisions
coolers/Makefile file | annotate | diff | comparison | revisions
lib/Makefile file | annotate | diff | comparison | revisions
--- 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"
 
--- 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)
--- 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
--- 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

mercurial