]> Git repositories of Nishi - tewi.git/commitdiff
trying to add nextstep support
authorNishi <nishi@nishi.boats>
Mon, 14 Oct 2024 17:41:06 +0000 (17:41 +0000)
committerNishi <nishi@nishi.boats>
Mon, 14 Oct 2024 17:41:06 +0000 (17:41 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@322 8739d7e6-ffea-ec47-b151-bdff447c6205

Common/Makefile
Platform/nextstep.mk

index bcc121c34e7010a80baf1a7197585ff40adecd39..b4e44b899768df04c2aa8ab15113855dc23d3434 100644 (file)
@@ -4,6 +4,7 @@ OBJ=o
 STATIC=a
 AR_FLAGS=rcs
 AR_PROC=cat
+AR_USUAL=rcs
 include $(PWD)/Platform/$(PLATFORM).mk
 
 .PHONY: all clean
@@ -15,7 +16,8 @@ all: common.$(STATIC)
 
 common.a: $(OBJS)
        rm -f common.a
-       $(AR) rcs $@ `echo $(OBJS) | $(AR_PROC)`
+       $(AR) $(AR_USUAL) $@ `echo $(OBJS) | $(AR_PROC)`
+       $(MAYBE_RANLIB)
 
 common.lib: $(OBJS)
        rm -f common.lib
index aa20e7b56df9255f3f15895f190174ffb649d82a..8ad7a8aa619bf1e5bc69ecc46bc7b25fe077e8ae 100644 (file)
@@ -7,3 +7,5 @@ LDFLAGS =
 LIBS = -ldl
 EXEC =
 LIBSUF = .so
+AR_USUAL=rc
+MAYBE_RANLIB=ranlib common.a