体验新版 GitCode,发现更多精彩内容 >>
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)