1CC := $(CROSS_COMPILE)gcc 2CFLAGS := $(CFLAGS) -Wall -D_GNU_SOURCE 3LDFLAGS := $(LDFLAGS) -lm 4 5TARGETS := msr aperf 6 7TEST_PROGS := $(TARGETS) run.sh 8 9.PHONY: all clean 10all: $(TARGETS) 11 12$(TARGETS): $(HEADERS) 13 14clean: 15 rm -f $(TARGETS) 16