blob: 19958fd1c91bc7baa34a44aadb25a23fc603e4ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff -Naur libc-bench-20110206.orig//Makefile libc-bench-20110206/Makefile
--- libc-bench-20110206.orig//Makefile 2011-01-31 02:13:00.000000000 -0500
+++ libc-bench-20110206/Makefile 2012-08-09 22:12:24.000000000 -0400
@@ -2,8 +2,7 @@
SRCS = $(sort $(wildcard *.c))
OBJS = $(SRCS:.c=.o)
-CFLAGS = -Os
-LDFLAGS = -static
+LDFLAGS += -static
LIBS = -lpthread -lrt -lpthread
@@ -12,9 +11,6 @@
clean:
rm -f $(OBJS) libc-bench
-test: all
- ./libc-bench
-
libc-bench: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|