Skip to content

Commit

Permalink
Makefile - standard libraries addition
Browse files Browse the repository at this point in the history
  • Loading branch information
0xc0170 committed Dec 10, 2015
1 parent 072502f commit 4de8fc5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion project_generator/templates/makefile_gcc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ LD_SCRIPT = {{linker_file}}

CC_SYMBOLS = {% for symbol in macros %} -D{{symbol}} {% endfor %}

LIBS = {% for library in libraries %} -l{{library}} {% endfor %}
LIBS = {% for library in libraries %} -l{{library}} {% endfor %}
{% if standard_libraries %}
LIBS += -Wl,--start-group {% for library in standard_libraries %} -l{{library}} {% endfor %} -Wl,--end-group
{% endif %}

LIB_PATHS = {% for path in lib_paths %} {{path}} {% endfor %}


Expand Down

0 comments on commit 4de8fc5

Please sign in to comment.