From 1cddced74237647baca24cc3144adf25fa28d9dd Mon Sep 17 00:00:00 2001 From: David Betz Date: Sat, 14 Apr 2018 07:21:58 -0400 Subject: [PATCH] Move -lm to the end of the link command line to fix the Linux build. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 78d9510..eb2138d 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ OPT := -O3 CFLAGS = -c -g -Wall -Wno-format $(OPT) -D LINUX all: directory $(SOURCES) $(OBJECTS) Makefile - $(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) + $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) directory: mkdir -p $(BUILD)