commit ec79f75778ab99c82b16d01786b8fe4a64242b10
parent a91597aa78eeb75768004c31334d1854d55c5cf3
Author: Connor Lane Smith <cls@lubutu.com>
Date: Mon, 21 May 2012 15:29:42 +0100
make: use LIB everywhere
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -15,7 +15,7 @@ all: $(LIB) utftest
$(LIB): $(OBJ)
$(AR) -rcs $@ $(OBJ)
-utftest: utftest.o libutf.a
+utftest: utftest.o $(LIB)
$(CC) $(LDFLAGS) -o $@ utftest.o $(LIB)
.c.o:
@@ -24,7 +24,7 @@ utftest: utftest.o libutf.a
runetypebody.h: mkrunetype.awk $(UCD)
$(AWK) -f mkrunetype.awk $(UCD) > $@
-install: libutf.a
+install: $(LIB)
mkdir -p $(DESTDIR)$(PREFIX)/lib
cp $(LIB) $(DESTDIR)$(PREFIX)/lib/$(LIB)
mkdir -p $(DESTDIR)$(PREFIX)/include
@@ -35,4 +35,4 @@ uninstall:
rm -f $(DESTDIR)$(PREFIX)/include/$(INC)
clean:
- rm -f libutf.a utftest utftest.o $(OBJ)
+ rm -f $(LIB) utftest utftest.o $(OBJ)