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)
commitd79946ab96f36bba44bbaa148db86b74b182aac8 (patch)
treef0b8378d4e030b80496a65e0682d6f268f987f6d
parenta6d0cd2454f527a981e661832939045a7bc3a145 (diff)
downloadntapi-d79946ab96.tar.bz2
ntapi-d79946ab96.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 $@ $^