Fix LDLIBS linker errors
This commit is contained in:
parent
0fc41b57df
commit
60f39f0336
2
Makefile
2
Makefile
@ -43,7 +43,7 @@ prebuild:
|
|||||||
@mkdir -p $(BUILDDIR) $(OUTDIR)
|
@mkdir -p $(BUILDDIR) $(OUTDIR)
|
||||||
|
|
||||||
$(OUTDIR)$(BIN): $(OBJS)
|
$(OUTDIR)$(BIN): $(OBJS)
|
||||||
$(CXX) -o $(OUTDIR)$(BIN) $(LDFLAGS) $(LDLIBS) $(addprefix $(BUILDDIR),$(OBJS))
|
$(CXX) -o $(OUTDIR)$(BIN) $(LDFLAGS) $(addprefix $(BUILDDIR),$(OBJS)) $(LDLIBS)
|
||||||
@ln -sf $(OUTDIR)$(BIN) $(BIN)
|
@ln -sf $(OUTDIR)$(BIN) $(BIN)
|
||||||
|
|
||||||
%.o %.d: %.cpp
|
%.o %.d: %.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user