From: Nishi Date: Mon, 14 Oct 2024 17:41:06 +0000 (+0000) Subject: trying to add nextstep support X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=e341f2128d5a672aa357cd8a9215a253543140f3;p=tewi.git trying to add nextstep support git-svn-id: file:///raid/svn-personal/tewi/trunk@322 8739d7e6-ffea-ec47-b151-bdff447c6205 --- 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