summaryrefslogtreecommitdiff
path: root/harness/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'harness/Makefile')
-rw-r--r--harness/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/harness/Makefile b/harness/Makefile
index 01ccfd3..f477737 100644
--- a/harness/Makefile
+++ b/harness/Makefile
@@ -6,13 +6,13 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS)
HARNESS_SRCS:=main.c
# io_queue.c
-CFLAGS+=-Wall -Werror -I../src -g -O2 -lpthread -DPAGE_SIZE=$(shell getconf PAGESIZE)
+CFLAGS+=-Wall -Werror -I../src -g -O2 -DPAGE_SIZE=$(shell getconf PAGESIZE)
#-lpthread -lrt
all: $(PROGS)
$(PROGS): %.p: %.t $(HARNESS_SRCS)
- $(CC) $(CFLAGS) -DTEST_NAME=\"$<\" -o $@ main.c ../src/libaio.a
+ $(CC) $(CFLAGS) -DTEST_NAME=\"$<\" -o $@ main.c ../src/libaio.a -lpthread
clean:
rm -f $(PROGS) *.o runtests.out rofile wofile rwfile