[En-Nut-Discussion] C++ Makefiles broken after dependency patch

Harald Kipp harald.kipp at egnite.de
Mon Sep 23 13:48:23 CEST 2013


Hi,

for some time Nut/OS uses GCC dependency files to optimize building.
This is definitely a big improvement.

Unfortunately this broke building from C++. Make terminates with

 cppdemo.cc:1: *** missing separator.  Stop.

Fixing this by simply removing

 include ../Makerules

from cppdemo/Makefile and executing 'make clean' will remove the source
file cppdemo.cc! Oops!

Regards,

Harald





More information about the En-Nut-Discussion mailing list