[hackers] [libutf] make: use LIB everywhere || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Mon, 21 May 2012 16:29:45 +0200 (CEST)

changeset: 14:1d508c1d1549
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Mon May 21 15:29:42 2012 +0100
files: Makefile
description:
make: use LIB everywhere


diff -r d65194e2a1a7 -r 1d508c1d1549 Makefile
--- a/Makefile Mon May 21 15:28:31 2012 +0100
+++ b/Makefile Mon May 21 15:29:42 2012 +0100
_AT_@ -15,7 +15,7 @@
 $(LIB): $(OBJ)
         $(AR) -rcs $_AT_ $(OBJ)
 
-utftest: utftest.o libutf.a
+utftest: utftest.o $(LIB)
         $(CC) $(LDFLAGS) -o $_AT_ utftest.o $(LIB)
 
 .c.o:
_AT_@ -24,7 +24,7 @@
 runetypebody.h: mkrunetype.awk $(UCD)
         $(AWK) -f mkrunetype.awk $(UCD) > $_AT_
 
-install: libutf.a
+install: $(LIB)
         mkdir -p $(DESTDIR)$(PREFIX)/lib
         cp $(LIB) $(DESTDIR)$(PREFIX)/lib/$(LIB)
         mkdir -p $(DESTDIR)$(PREFIX)/include
_AT_@ -35,4 +35,4 @@
         rm -f $(DESTDIR)$(PREFIX)/include/$(INC)
 
 clean:
- rm -f libutf.a utftest utftest.o $(OBJ)
+ rm -f $(LIB) utftest utftest.o $(OBJ)
Received on Mon May 21 2012 - 16:29:45 CEST

This archive was generated by hypermail 2.3.0 : Mon May 21 2012 - 16:36:08 CEST