1# The loops are all 64-bit code 2CFLAGS += -m64 3CFLAGS += -I$(CURDIR) 4 5PROGS := memcmp 6EXTRA_SOURCES := memcmp_64.S ../harness.c 7 8all: $(PROGS) 9 10$(PROGS): $(EXTRA_SOURCES) 11 12run_tests: all 13 @-for PROG in $(PROGS); do \ 14 ./$$PROG; \ 15 done; 16 17clean: 18 rm -f $(PROGS) *.o 19 20.PHONY: all run_tests clean 21