summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-08-28 22:31:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-08-28 22:31:47 +0200
commit3d01336e8821312d240b273c62fa1257a7b48f43 (patch)
treeea7801e8d7d8980f8998ae91dede5df3b4600539 /Makefile
parentUpdate due to rbtree API changes (diff)
downloadrtems-libbsd-3d01336e8821312d240b273c62fa1257a7b48f43.tar.bz2
Fix library creation
Delete library and create it from scratch to avoid problems with non-unique file names.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cf0c8b87..53e38b5b 100644
--- a/Makefile
+++ b/Makefile
@@ -1438,6 +1438,7 @@ D_FILES += $(LIB_C_FILES:%.c=%.d)
all: $(LIB) $(TESTS) $(TEST_NETWORK_CONFIG) $(NET_TESTS)
$(LIB): $(LIB_GEN_FILES) $(LIB_O_FILES)
+ rm -f $@
$(AR) rcu $@ $^
run_tests: $(RUN_TESTS)