summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/stringloops/Makefile
blob: 506d7734647764cd077a669678db0eb9626ae23f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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