Fix LDLIBS linker errors

This commit is contained in:
Bob Polis 2024-03-28 15:25:10 +01:00
parent ac0e6cbc61
commit 9df8373b94

View File

@ -28,7 +28,7 @@ LDFLAGS :=
all: $(BIN) all: $(BIN)
$(BIN): $(OBJS) $(DEPS) $(BIN): $(OBJS) $(DEPS)
$(CXX) $(OBJS) $(LDFLAGS) $(LDLIBS) -o $(BIN) $(CXX) $(OBJS) $(LDFLAGS) -o $(BIN) $(LDLIBS)
%.o: %.cpp %.d Makefile %.o: %.cpp %.d Makefile
$(CXX) $(CXXFLAGS) -MMD -MP -MT $@ -MF $*.d -c $< $(CXX) $(CXXFLAGS) -MMD -MP -MT $@ -MF $*.d -c $<