summaryrefslogtreecommitdiffhomepage
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:49 -0500
commitcd696759722b99be0684058b499938a3d36e5fa4 (patch)
tree809b56aeec7439ac9e6cf264867c9164d764c645
parent7b56574384dccbcb4d59d2290f3e4b4e711aaefa (diff)
downloadsofort-cd696759722b99be0684058b499938a3d36e5fa4.tar.bz2
sofort-cd696759722b99be0684058b499938a3d36e5fa4.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 $@ $^