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:47 -0500
commit2471743a3f56fb3f66ed102dba008f0b1bde98ad (patch)
treef578ab99408a597df5c01ee8b801ef57866a2633
parent84239e8b168a71b68373206c9d5bf9538dbbc8cb (diff)
downloadntcon-2471743a3f56fb3f66ed102dba008f0b1bde98ad.tar.bz2
ntcon-2471743a3f56fb3f66ed102dba008f0b1bde98ad.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 $@ $^