2015-01-21 09:27:39 +08:00
|
|
|
# The loops are all 64-bit code
|
|
|
|
CFLAGS += -m64
|
|
|
|
CFLAGS += -I$(CURDIR)
|
|
|
|
|
2015-03-11 12:06:01 +08:00
|
|
|
TEST_PROGS := memcmp
|
2015-01-21 09:27:39 +08:00
|
|
|
EXTRA_SOURCES := memcmp_64.S ../harness.c
|
|
|
|
|
2015-03-11 12:06:01 +08:00
|
|
|
all: $(TEST_PROGS)
|
2015-01-21 09:27:39 +08:00
|
|
|
|
2015-03-11 12:06:01 +08:00
|
|
|
$(TEST_PROGS): $(EXTRA_SOURCES)
|
2015-01-21 09:27:39 +08:00
|
|
|
|
2015-03-11 12:06:01 +08:00
|
|
|
include ../../lib.mk
|
2015-01-21 09:27:39 +08:00
|
|
|
|
|
|
|
clean:
|
2015-03-11 12:06:01 +08:00
|
|
|
rm -f $(TEST_PROGS) *.o
|