Move -lm to the end of the link command line to fix the Linux build.

This commit is contained in:
David Betz 2018-04-14 07:21:58 -04:00
parent 9327d0b0a7
commit 1cddced742
1 changed files with 1 additions and 1 deletions

View File

@ -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)