1# Taken from perf makefile 2uname_M := $(shell uname -m 2>/dev/null || echo not) 3ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 4 5ifeq ($(ARCH),x86) 6TEST_PROGS := breakpoint_test 7endif 8 9all: $(TEST_PROGS) 10 11include ../lib.mk 12 13clean: 14 rm -fr breakpoint_test 15