From 984b565ace98d288c081b80a60a890c608b1efbb Mon Sep 17 00:00:00 2001 From: David Betz Date: Sat, 14 Apr 2018 05:08:33 -0400 Subject: [PATCH] Add math library. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9b3b6bc..78d9510 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ OBJECTS = $(patsubst %,$(BUILD)/%, $(SOURCES:.c=.o)) # I'm not sure why these linker flags were being used but the break the build on Mac OS X so I've # commented them out for the time being #LDFLAGS = -Wl,--relax -Wl,--gc-sections -LDFLAGS = +LDFLAGS = -lm OPT := -O3 CFLAGS = -c -g -Wall -Wno-format $(OPT) -D LINUX