diff options
author | Ryan Schmidt <git@ryandesign.com> | 2021-07-31 19:50:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-31 19:50:47 +0300 |
commit | c1726c11b75b4ecc1cd765eeb8fb2f5c1547cfe4 (patch) | |
tree | 7621bf3d622c499d7761f9691c50d277a8394fe5 | |
parent | 886b02b372e66e79ade5107aa0fdd359546c16b1 (diff) |
Use LDFLAGS when linking
Use LDFLAGS when linking. The Makefile doesn't set any but the user might.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ OBJ_FILES=$(notdir $(CPP_FILES:.cpp=.o)) all: dylibbundler dylibbundler: $(OBJ_FILES) - $(CXX) $(CXXFLAGS) -o $@ $(OBJ_FILES) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJ_FILES) %.o: src/%.cpp $(CXX) -c $(CXXFLAGS) -I./src $< -o $@ |