1 TARGETS
= hackbench.o interbench.o interbench
3 CFLAGS
= -W
-Wall
-g
-O2
-s
-pipe
-Werror
4 LDFLAGS
= -lpthread
-lrt
-lm
8 hackbench.o
: hackbench.c
9 $(CC
) $(CFLAGS
) hackbench.c
-c
11 interbench.o
: interbench.c
12 $(CC
) $(CFLAGS
) interbench.c
-c
14 interbench
: hackbench.o interbench.o
15 $(CC
) $(CFLAGS
) $(LDFLAGS
) hackbench.o interbench.o
-o interbench
18 rm -f
$(TARGETS
) interbench.read interbench.write interbench.loops_per_ms
*~