Skip to content

Commit

Permalink
linux_examples makefile: move libs after source files
Browse files Browse the repository at this point in the history
in c++ build command line. Fix for ubunutu compilation.

Signed-off-by: mz-fuzzy <mzfuzzy800@gmail.com>
  • Loading branch information
martin-mat committed Apr 5, 2016
1 parent 4507fd1 commit 061341e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples_linux/Makefile.examples
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif
all: $(PROGRAMS)

$(PROGRAMS): $(SOURCES)
$(CXX) $(CFLAGS) -I$(HEADER_DIR)/.. -I.. -L$(LIB_DIR) $(LIBS) $@.cpp -o $@
$(CXX) $(CFLAGS) -I$(HEADER_DIR)/.. -I.. -L$(LIB_DIR) $@.cpp $(LIBS) -o $@

clean:
@echo "[Cleaning]"
Expand Down

1 comment on commit 061341e

@martin-mat
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.