selftests/powerpc: Add memcmp testcase
[firefly-linux-kernel-4.4.55.git] / tools / testing / selftests / powerpc / stringloops / Makefile
1 # The loops are all 64-bit code
2 CFLAGS += -m64
3 CFLAGS += -I$(CURDIR)
4
5 PROGS := memcmp
6 EXTRA_SOURCES := memcmp_64.S ../harness.c
7
8 all: $(PROGS)
9
10 $(PROGS): $(EXTRA_SOURCES)
11
12 run_tests: all
13         @-for PROG in $(PROGS); do \
14                 ./$$PROG; \
15         done;
16
17 clean:
18         rm -f $(PROGS) *.o
19
20 .PHONY: all run_tests clean