Browse Source

re-order linker flags in example Makefile

fixes a bug when compiling on debian
main
cinnaboot 6 months ago
parent
commit
669e903fa6
  1. 2
      examples/Makefile

2
examples/Makefile

@ -34,7 +34,7 @@ BINDIR = bin
#.PHONY: clean
all: mkdirs
$(CXX) $(CXXFLAGS) main.cpp -o $(BINDIR)/testing $(LDFLAGS) $(LIB)
$(CXX) $(CXXFLAGS) main.cpp -o $(BINDIR)/testing $(LIB) $(LDFLAGS)
mkdirs:
@mkdir -p $(BINDIR) $(OBJDIR)

Loading…
Cancel
Save