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