Fix LDLIBS linker errors
This commit is contained in:
parent
ac0e6cbc61
commit
9df8373b94
2
Makefile
2
Makefile
@ -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 $<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user