thermometers/Makefile

changeset 8
e584bc0177df
parent 3
e854e3d704de
child 51
a03b6dac5398
--- 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

mercurial