diff -r d74b26b2f217 -r e584bc0177df thermometers/Makefile --- a/thermometers/Makefile Wed Apr 23 14:25:09 2014 +0200 +++ b/thermometers/Makefile Wed Apr 23 17:19:00 2014 +0200 @@ -5,6 +5,7 @@ SRCS = main.c HDRS = main.h OBJS = main.o +SLIBS = ../lib/libmbse.a TARGET = thermometers OTHER = Makefile @@ -15,8 +16,8 @@ all: ${TARGET} -thermometers: ${OBJS} - ${CC} -o thermometers ${OBJS} ${LDFLAGS} ${LIBS} +thermometers: ${OBJS} ${SLIBS} + ${CC} -o thermometers ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS} clean: rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak @@ -53,5 +54,5 @@ # DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT # Dependencies generated by make depend -main.o: main.h +main.o: ../lib/mbselib.h main.h # End of generated dependencies