commit bb4a01e837195713d6ce2f4e66826cfc7bfa3713
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Wed Sep 27 06:47:37 2023 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Wed Sep 27 07:58:59 2023 +0200

    build: Remove LIBUTIL and LIBUTF
    
    They were just hidding the actual names of te libraries and as
    they were added to OBJ they were listed twice in the clean
    command.

diff --git a/Makefile b/Makefile
index 776db1d..6fc5411 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,6 @@ HDR =\
        utf.h\
        util.h
 
-LIBUTF = libutf.a
 LIBUTFOBJ =\
        libutf/fgetrune.o\
        libutf/fputrune.o\
@@ -43,7 +42,6 @@ LIBUTFOBJ =\
        libutf/utf.o\
        libutf/utftorunestr.o
 
-LIBUTIL = libutil.a
 LIBUTILOBJ =\
        libutil/concat.o\
        libutil/cp.o\
@@ -83,7 +81,7 @@ LIBUTILOBJ =\
        libutil/unescape.o\
        libutil/writeall.o
 
-LIB = $(LIBUTF) $(LIBUTIL)
+LIB = libutf.a libutil.a
 
 BIN =\
        basename\
@@ -200,11 +198,11 @@ $(OBJ): $(HDR) config.mk
 .c.o:
        $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
 
-$(LIBUTF): $(LIBUTFOBJ)
+libutf.a: $(LIBUTFOBJ)
        $(AR) rc $@ $?
        $(RANLIB) $@
 
-$(LIBUTIL): $(LIBUTILOBJ)
+libutil.a: $(LIBUTILOBJ)
        $(AR) rc $@ $?
        $(RANLIB) $@
 

Reply via email to