On 2010-01-21 19:42Z, Ted Byers wrote: > CC = g++ > sources := $(wildcard *.cpp) > objects := $(patsubst %.cpp, %.o, $(sources))
'objects' begins with lowercase 'o'. > objs: $(Objects) 'Objects' begins with uppercase 'O'. > include $(sources:.c=.d) As written, C++ source gets included in the makefile. Files in $(sources) have suffix 'cpp', not 'c'. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
