xref: /linux/tools/testing/selftests/powerpc/stringloops/Makefile (revision 188933ac139a6f8ab06cad369bd0200af947b00d)
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