summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-06 10:17:14 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-06 10:17:14 -0700
commit586d8056c1c9e4bb4b8ef219babadc997559b83d (patch)
tree49845cf9316ec2a72031d770d2a6aa3c5ff4952a /Makefile
parentfcb00cd96982ba34252046fa35cd0d13ef4387bc (diff)
downloadcmath-586d8056c1c9e4bb4b8ef219babadc997559b83d.tar.gz
cmath-586d8056c1c9e4bb4b8ef219babadc997559b83d.zip
nov 6, add -lm appended to make test due to my (admittedly heavy) usage of clang
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0b1a81a..09e44d2 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ LDFLAGS := -lm
all: $(TEST_EXE)
$(TEST_EXE): $(TEST_OBJ) $(LIBRARY) | $(BIN_DIR)
- $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ -o $@
+ $(CC) $(CPPFLAGS) $(CFLAGS) $^ -o $@ $(LDFLAGS)
$(LIBRARY): $(OBJ) | $(LIB_DIR)
ar rcs $(LIBRARY) $(OBJ_DIR)/*.o