Fix LDLIBS linker errors
This commit is contained in:
parent
2fb1c801a0
commit
d8178d45d3
2
Makefile
2
Makefile
@ -43,7 +43,7 @@ prebuild:
|
|||||||
@mkdir -p $(BUILDDIR) $(OUTDIR)
|
@mkdir -p $(BUILDDIR) $(OUTDIR)
|
||||||
|
|
||||||
$(OUTDIR)$(BIN): $(OBJS)
|
$(OUTDIR)$(BIN): $(OBJS)
|
||||||
$(CXX) $(addprefix $(BUILDDIR),$(OBJS)) $(LDFLAGS) $(LDLIBS) -o $(OUTDIR)$(BIN)
|
$(CXX) $(addprefix $(BUILDDIR),$(OBJS)) $(LDFLAGS) -o $(OUTDIR)$(BIN) $(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