OpenCloudOS-Kernel/tools/testing/selftests/powerpc/stringloops/Makefile

21 lines
295 B
Makefile
Raw Normal View History

# 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