14
we have some C++ code that we need to create a make file in. Each .h and .C pair create an object and then some objects are linked together to form a executable. Pretty standard stuff.
This non-gnu make command just builds all the files into object in a directory
%.o:%.C
$(CC) $(CPFLAGS) -c $<
What this does is for each %.C file (ie every .C file) build a corresponding .o file.
Does anybody know how to do this with gmake?
Cheers
Mark