summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-10 10:50:32 -0500
committermidipix <writeonce@midipix.org>2019-01-10 10:51:46 -0500
commit08afec5892ae25e2945ca02c370810a6a6f9a88f (patch)
tree6987af509ca83d61aa2553530090e986acee8081
parent3ecec80df65ab50e2052a7c57098511f4692cc1e (diff)
downloadbfirm-08afec5892ae25e2945ca02c370810a6a6f9a88f.tar.bz2
bfirm-08afec5892ae25e2945ca02c370810a6a6f9a88f.tar.xz
build system: empty archives: remove dependency on dirs.tag, mkdir -p lib.
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index f81b07c..07df38b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -135,7 +135,8 @@ src/%.o: $(SOURCE_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
lib/%$(OS_LIB_PREFIXED_SUFFIX)$(VER_XYZ)$(OS_LIB_SUFFIXED_SUFFIX):
$(CC) -shared -o $@ $^ $(LDFLAGS_SHARED)
-lib/%$(OS_ARCHIVE_EXT): dirs.tag
+lib/%$(OS_ARCHIVE_EXT):
+ mkdir -p lib
rm -f $@
$(AR) rcs $@ $^