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