From 922e5d83bce88f6315cf86d27d1108796fc49757 Mon Sep 17 00:00:00 2001 From: Tian Qiu Date: Mon, 1 Jun 2020 17:42:44 +0800 Subject: [PATCH] deal with math.h --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index adc5786..8d69bd8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ OBJS = scheduler.o scheduler: $(OBJS) - gcc $(OBJS) -o scheduler + gcc $(OBJS) -o scheduler -lm scheduler.o: scheduler.c gcc -c scheduler.c -o scheduler.o clean: - rm -rf *.o scheduler \ No newline at end of file + rm -rf *.o scheduler