From f69e770175f0ced0f5b3ca310fedd9aa4953e2b7 Mon Sep 17 00:00:00 2001 From: Prithvi Date: Tue, 29 Jun 2021 19:29:19 +0530 Subject: [PATCH] Fixed math library issues --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 942da39..263c781 100644 --- a/Makefile +++ b/Makefile @@ -9,4 +9,4 @@ endif calculator : $(REQ) bison -d $(SRC)/parser.y flex -o calculator.lex.c $(SRC)/lexer.l - $(CC) $(CFLAGS) parser.tab.c calculator.lex.c $(SRC)/calculator.c $(SRC)/colour.c -o $@ \ No newline at end of file + $(CC) $(CFLAGS) parser.tab.c calculator.lex.c $(SRC)/calculator.c $(SRC)/colour.c -o $@ -lm \ No newline at end of file