X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Fbenchmarks%2FMakefile;h=7dcf9bebcb7133aeb389f974a0e89a8d4818d2d3;hb=HEAD;hp=21f3441db63b9aa355bb85d0e32a2a52ac2a44b7;hpb=8d97cddd18f504409ddb66dfe396798c99c2dfbd;p=ccan diff --git a/ccan/io/benchmarks/Makefile b/ccan/io/benchmarks/Makefile index 21f3441d..7dcf9beb 100644 --- a/ccan/io/benchmarks/Makefile +++ b/ccan/io/benchmarks/Makefile @@ -4,7 +4,7 @@ CFLAGS:=-Wall -I$(CCANDIR) -O3 -flto LDFLAGS:=-O3 -flto LDLIBS:=-lrt -OBJS:=time.o poll.o io.o err.o +OBJS:=time.o poll.o io.o err.o timer.o list.o default: $(ALL) @@ -14,6 +14,10 @@ run-length-prefix: run-length-prefix.o $(OBJS) time.o: $(CCANDIR)/ccan/time/time.c $(CC) $(CFLAGS) -c -o $@ $< +timer.o: $(CCANDIR)/ccan/timer/timer.c + $(CC) $(CFLAGS) -c -o $@ $< +list.o: $(CCANDIR)/ccan/list/list.c + $(CC) $(CFLAGS) -c -o $@ $< poll.o: $(CCANDIR)/ccan/io/poll.c $(CC) $(CFLAGS) -c -o $@ $< io.o: $(CCANDIR)/ccan/io/io.c @@ -22,4 +26,4 @@ err.o: $(CCANDIR)/ccan/err/err.c $(CC) $(CFLAGS) -c -o $@ $< clean: - $(RM) -f *.o $(ALL) + rm -f *.o $(ALL)