added libuuid to linker

This commit is contained in:
Steffen Vogel 2011-07-20 17:40:38 +02:00
parent 3b34cd85dc
commit 37621e9e2d
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
CFLAGS += -I../sml/include/ -g -Wall
OBJS = sml_server.o
LIBS = -L../sml/lib/ ../sml/lib/libsml.o
LIBS = -L../sml/lib/ ../sml/lib/libsml.o -luuid
sml_server : $(OBJS)
$(CC) $(CFLAGS) $(LIBS) -o sml_server $(OBJS)

View file

@ -1,5 +1,6 @@
CFLAGS += -I../sml/include/ -Wall
LIBSML = ../sml/lib/libsml.a
LIBS = -luuid
UNITY = \
unity/unity.o \
@ -21,7 +22,7 @@ test_run: libsml test
@./test
test : $(UNITY) $(OBJS) $(LIBSML)
$(CC) $(CFLAGS) $(LIBSML) $^ test_main.c -o test
$(CC) $(CFLAGS) $(LIBSML) $(LIBS) $^ test_main.c -o test
.PHONY: code
libsml :