From c2a932d84dfb74fd3f80700155582033508ef2d1 Mon Sep 17 00:00:00 2001 From: vvzxy <145555693+vvzxy@users.noreply.github.com> Date: Fri, 24 May 2024 19:12:46 +0800 Subject: [PATCH] Update Makefile --- eBPF_Supermarket/CPU_Subsystem/cpu_watcher/test/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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*