Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: f22e6e847115abc3a0e2ad7bb18d243d42275af1 authored by Linus Torvalds on 06 April 2015, 22:39:45 UTC
Linux 4.0-rc7
Tip revision: f22e6e8
Makefile
# 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
back to top