summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-28 22:52:20 -0400
committerRich Felker <dalias@aerifal.cx>2011-03-28 22:52:20 -0400
commitb2cb7c03aefdeafb9b2a5ae7c62c441a76bb7a40 (patch)
tree7fb5f22207228d3a77a807944229b2c408411b3e
parent0346d5174eb0ce553cda977d91dd6cf61b7ffe82 (diff)
downloadlibc-bench-b2cb7c03aefdeafb9b2a5ae7c62c441a76bb7a40.tar.gz
add relink/retest rules to makefile
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7769ef5..efda5c0 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,12 @@ clean:
test: all
./libc-bench
+relink:
+ rm -f libc-bench
+ make all
+
+retest: relink test
+
libc-bench: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)