diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-07-06 22:12:44 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-07-06 22:12:44 +0200 |
commit | bcacadf79266b4e6d1081fc73a8e1168500d6556 (patch) | |
tree | e8e264fcf620d52700dae092df79c3d6ff5f93d2 /include.mk | |
parent | first working fastled example (diff) |
CXXFLAGS vs CFLAGS for lib C++ targets
Diffstat (limited to 'include.mk')
-rw-r--r-- | include.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -149,7 +149,7 @@ lib-%.o: $(LIB_DIR)/%.c Makefile $(CC) $(CFLAGS) -c $< -o $@ lib-%.o: $(LIB_DIR)/%.cpp Makefile - $(CXX) $(CFLAGS) -c $< -o $@ + $(CXX) $(CXXFLAGS) -c $< -o $@ $(ELFFILE): $(OBJ) $(CXX_OBJ) $(OBJ_LIB) $(CXX_OBJ_LIB) $(EXTERNAL_LIBS:%=lib%.a) $(CC) $(LDFLAGS) $(OBJ) $(CXX_OBJ) $(OBJ_LIB) $(CXX_OBJ_LIB) $(EXTERNAL_LIBS:%=-l%) -o $@ |