]> Git repositories of Nishi - tewi.git/commitdiff
fix build
authorNishi <nishi@nishi.boats>
Wed, 2 Oct 2024 19:59:49 +0000 (19:59 +0000)
committerNishi <nishi@nishi.boats>
Wed, 2 Oct 2024 19:59:49 +0000 (19:59 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@218 8739d7e6-ffea-ec47-b151-bdff447c6205

Common/Makefile

index f328220661a39dedfc2e571773d219f46194e995..a6e676f8d10740ee794105b070db433e06e0d091 100644 (file)
@@ -2,7 +2,7 @@
 
 OBJ=o
 STATIC=a
-AR_FLAGS=rcs 
+AR_FLAGS=rcs
 AR_PROC=cat
 include $(PWD)/Platform/$(PLATFORM).mk
 
@@ -13,7 +13,10 @@ OBJS = string.$(OBJ) log.$(OBJ) dir.$(OBJ)
 
 all: common.$(STATIC)
 
-common.$(STATIC): $(OBJS)
+common.a: $(OBJS)
+       $(AR) rcs $@ `echo $(OBJS) | $(AR_PROC)`
+
+common.lib: $(OBJS)
        $(AR) $(AR_FLAGS)$@ `echo $(OBJS) | $(AR_PROC)`
 
 .c.$(OBJ):