Fix makefile to use $@ as output file instead of hardcoded name.
[SXSI/libbp.git] / Makefile
index 64c98b3..8f555e2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,8 +32,8 @@ LIB_BP=libbpa.a
 all: depend $(LIB_BP)
 
 $(LIB_BP): $(OBJECTS_BP)
-       @echo [BP]
-       $(HIDE) ar rcs libbp.a $(OBJECTS_BP)
+       @echo [Link] $@
+       $(HIDE) ar rcs $@ $(OBJECTS_BP)
 
 %o: %c
        @echo [C] $@