changeset 21184:32a571ec877d

Use $@ and $^ to designate target and prerequisites.
author diego
date Sat, 25 Nov 2006 00:12:08 +0000
parents 2b2580edbd10
children 0c866f72b921
files loader/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/Makefile	Sat Nov 25 00:09:39 2006 +0000
+++ b/loader/Makefile	Sat Nov 25 00:12:08 2006 +0000
@@ -16,8 +16,8 @@
 all: libloader.a
 
 libloader.a:  $(OBJS)
-	$(AR) -r libloader.a $(OBJS)
-	$(RANLIB) libloader.a
+	$(AR) -r $@ $^
+	$(RANLIB) $@
 
 clean:
 	rm -f *.o *.a *~