[hackers] [sbase] Rename util.a to libutil.a || sin
commit 2fd6e769dded2476e3283922220f6acb480ed438
Author: sin <sin_AT_2f30.org>
Date: Mon Nov 17 10:28:54 2014 +0000
Rename util.a to libutil.a
diff --git a/Makefile b/Makefile
index 4b43811..5d75f6e 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -126,7 +126,7 @@ MAN = $(SRC:.c=.1)
all: binlib
-binlib: util.a
+binlib: libutil.a
$(MAKE) bin
bin: $(BIN)
_AT_@ -134,12 +134,12 @@ bin: $(BIN)
$(OBJ): $(HDR) config.mk
.o:
- $(LD) -o $_AT_ $< util.a $(LDFLAGS)
+ $(LD) -o $_AT_ $< libutil.a $(LDFLAGS)
.c.o:
$(CC) $(CFLAGS) -o $_AT_ -c $<
-util.a: $(LIB)
+libutil.a: $(LIB)
$(AR) -r -c $_AT_ $?
ranlib $_AT_
_AT_@ -162,7 +162,7 @@ dist: clean
gzip sbase-$(VERSION).tar
rm -rf sbase-$(VERSION)
-sbase-box: $(SRC) util.a
+sbase-box: $(SRC) libutil.a
mkdir -p build
cp $(HDR) build
for f in $(SRC); do sed "s/^main(/`basename $$f .c`_&/" < $$f > build/$$f; done
_AT_@ -177,8 +177,8 @@ sbase-box: $(SRC) util.a
echo 'else {' >> build/$_AT_.c
for f in $(SRC); do echo "printf(\"`basename $$f .c`\"); putchar(' ');" >> build/$_AT_.c; done
echo "putchar(0xa); }; return 0; }" >> build/$_AT_.c
- $(LD) -o $_AT_ build/*.c util.a $(CFLAGS) $(LDFLAGS)
+ $(LD) -o $_AT_ build/*.c libutil.a $(CFLAGS) $(LDFLAGS)
rm -r build
clean:
- _AT_rm -f $(BIN) $(OBJ) $(LIB) util.a sbase-box sbase-$(VERSION).tar.gz
+ _AT_rm -f $(BIN) $(OBJ) $(LIB) libutil.a sbase-box sbase-$(VERSION).tar.gz
Received on Mon Nov 17 2014 - 11:37:11 CET
This archive was generated by hypermail 2.3.0
: Mon Nov 17 2014 - 11:48:12 CET