From 78647863a526b4d3575cfea534fd1e3d7edfa2a0 Mon Sep 17 00:00:00 2001 From: danghvu Date: Thu, 9 Jan 2014 11:08:04 +0700 Subject: [PATCH] Add test binary for static link --- tests/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Makefile b/tests/Makefile index 5543eecf..8a591de6 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -47,6 +47,7 @@ $(BINARY): $(OBJS) %$(BIN_EXT): %.o ${CC} $(CFLAGS) $(LDFLAGS) $< -O3 -Wall -l$(LIBNAME) -o $@ + ${CC} $(CFLAGS) $(LDFLAGS) $< -O3 -Wall ../lib$(LIBNAME).a -o $@.static %.o: %.c ${CC} ${CFLAGS} -c $< -o $@