Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/amachronic/microtar.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-11-05 03:03:10 +0300
committerAidan MacDonald <amachronic@protonmail.com>2021-11-05 03:24:35 +0300
commitece9bbe1e4d536d8b01e4d7425857d42900b1bfc (patch)
tree5fb96f7cec51186951a85988e5a24917b0ea9e70
parent348f4c8aa4a0ffa041f6cef9a1f2eb0e57681098 (diff)
Use 'ar cr' in Makefile
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b2142ec..b362943 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ $(MTAR_BIN): $(MTAR_OBJ) $(MICROTAR_LIB)
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $^
$(MICROTAR_LIB): $(MICROTAR_OBJ)
- $(AR) r $@ $^
+ $(AR) cr $@ $^
%.o: %.c
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@