added libuuid to linker
This commit is contained in:
parent
3b34cd85dc
commit
37621e9e2d
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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 :
|
||||
|
|
Loading…
Add table
Reference in a new issue