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