From cd696759722b99be0684058b499938a3d36e5fa4 Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 10 2019 15:51:49 +0000 Subject: build system: empty archives: remove dependency on dirs.tag, mkdir -p lib. --- 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 $@ $^