Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
vvzxy authored May 24, 2024
1 parent 983b7ed commit c2a932d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eBPF_Supermarket/CPU_Subsystem/cpu_watcher/test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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*

0 comments on commit c2a932d

Please sign in to comment.