From e341f2128d5a672aa357cd8a9215a253543140f3 Mon Sep 17 00:00:00 2001 From: Nishi Date: Mon, 14 Oct 2024 17:41:06 +0000 Subject: [PATCH] trying to add nextstep support git-svn-id: file:///raid/svn-personal/tewi/trunk@322 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Common/Makefile | 4 +++- Platform/nextstep.mk | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Common/Makefile b/Common/Makefile index bcc121c..b4e44b8 100644 --- a/Common/Makefile +++ b/Common/Makefile @@ -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 diff --git a/Platform/nextstep.mk b/Platform/nextstep.mk index aa20e7b..8ad7a8a 100644 --- a/Platform/nextstep.mk +++ b/Platform/nextstep.mk @@ -7,3 +7,5 @@ LDFLAGS = LIBS = -ldl EXEC = LIBSUF = .so +AR_USUAL=rc +MAYBE_RANLIB=ranlib common.a -- 2.45.2