blob: 506d7734647764cd077a669678db0eb9626ae23f [file] [log] [blame]
# The loops are all 64-bit code
CFLAGS += -m64
CFLAGS += -I$(CURDIR)
PROGS := memcmp
EXTRA_SOURCES := memcmp_64.S ../harness.c
all: $(PROGS)
$(PROGS): $(EXTRA_SOURCES)
run_tests: all
@-for PROG in $(PROGS); do \
./$$PROG; \
done;
clean:
rm -f $(PROGS) *.o
.PHONY: all run_tests clean