From 5fa0d5023f0e2935f99b04422f3a338d77264107 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Fri, 20 Jun 2014 22:55:59 -0500 Subject: Initial commit: benchmark musl's qsort --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6271d7c --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +CFLAGS = -O3 -pipe -std=c99 -D_XOPEN_SOURCE=500 +LDFLAGS = + +SRCS = $(sort $(wildcard *.c)) +OBJS = $(SRCS:.c=.o) +BINS = bench + +.PHONY: all clean + +all: $(BINS) + +clean: + rm -f $(BINS) + rm -f $(OBJS) + +bench: $(OBJS) + $(CC) $(LDFLAGS) $^ -o $@ + +%.o: %.c + $(CC) $(CFLAGS) -c $< -o $@ -- cgit v1.2.3