Commit 061341ed authored by mz-fuzzy's avatar mz-fuzzy

linux_examples makefile: move libs after source files

in c++ build command line. Fix for ubunutu compilation.
Signed-off-by: default avatarmz-fuzzy <mzfuzzy800@gmail.com>
parent 4507fd15
...@@ -22,7 +22,7 @@ endif ...@@ -22,7 +22,7 @@ endif
all: $(PROGRAMS) all: $(PROGRAMS)
$(PROGRAMS): $(SOURCES) $(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: clean:
@echo "[Cleaning]" @echo "[Cleaning]"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment