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:48 -0500
commitc716941c8da870ea9570391428931b8a13b262a4 (patch)
tree6aa3ff6162b28a3350f83db4596c5f0611506012
parent4010294d3a6651dbfb4380b94f72e0e3fb817acf (diff)
downloadsbpython2-c716941c8da870ea9570391428931b8a13b262a4.tar.bz2
sbpython2-c716941c8da870ea9570391428931b8a13b262a4.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 $@ $^