summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-10 15:50:32 (GMT)
committermidipix <writeonce@midipix.org>2019-01-10 15:51:47 (GMT)
commitf7145fe76191666496d14f907b903ae3e1f0604b (patch)
tree8f872d9754401d42b6ff4b0c8be15d2987d8fd7a
parentffb2b55623047345cc8a19ba7299c2689c696ed7 (diff)
downloadmdso-f7145fe761.tar.bz2
mdso-f7145fe761.tar.xz
build system: empty archives: remove dependency on dirs.tag, mkdir -p lib.HEADmain
-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 $@ $^