diff --git a/eBPF_Supermarket/CPU_Subsystem/cpu_watcher/test/Makefile b/eBPF_Supermarket/CPU_Subsystem/cpu_watcher/test/Makefile index f8b5bb833..8e5da9b71 100644 --- a/eBPF_Supermarket/CPU_Subsystem/cpu_watcher/test/Makefile +++ b/eBPF_Supermarket/CPU_Subsystem/cpu_watcher/test/Makefile @@ -4,7 +4,7 @@ LDFLAGS = -lrt .PHONY: all clean -all: test_cpuwatcher sender receiver +all: test_cpuwatcher sender receiver sender: mq_test_sender.c $(CC) $(CFLAGS) -o sender mq_test_sender.c $(LDFLAGS) @@ -14,5 +14,8 @@ receiver: mq_test_receiver.c test_cpuwatcher: test_cpuwatcher.c $(CC) $(CFLAGS) -o test_cpuwatcher test_cpuwatcher.c + clean: rm -f test_cpuwatcher sender receiver + # 清除 stress-ng 生成的临时文件 + rm -rf /tmp-stress-ng*