diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_makefile.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_makefile.htm index 73350e76fb6..50628fd7df9 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_makefile.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_makefile.htm @@ -77,9 +77,9 @@ $(LINK_TARGET) : $(OBJS) # It says how to create a file with a .o suffix, given a file with a .cpp suffix. # The rule's command uses some built-in Make Macros: # $@ for the pattern-matched target -# $< for the pattern-matched dependency +# $lt; for the pattern-matched dependency %.o : %.cpp - g++ -g -o $@ -c $< + g++ -g -o $@ -c $< # These are Dependency Rules, which are rules without any command. # Dependency Rules indicate that if any file to the right of the colon changes, @@ -94,7 +94,7 @@ Test2.o : Test2.h # Alternatively to manually capturing dependencies, several automated # dependency generators exist. Here is one possibility (commented out)... # %.dep : %.cpp -# g++ -M $(FLAGS) $< > $@ +# g++ -M $(FLAGS) $< > $@ # include $(OBJS:.o=.dep) @@ -153,7 +153,7 @@ Messages from the standard error stream (the lines saying Error 255) and standar This is helpful for build large projects.

You can remove the -k flag by turning on Project Properties > C/C++ Make Project > Make Builder > Stop on first build error

-

Q6. My Console view looks like: +

Q6. My Console view looks like:

 mingw32-make clean all 
 process_begin: CreateProcess((null), rm -f Test1.o Test2.o Main.o test_me.exe, ...) failed.
@@ -168,11 +168,11 @@ rm -f Test1.o Test2.o Main.o test_me.exe
 clean : 
 	-del $(REBUILDABLES)
 	echo Clean done
-

+

The leading minus sign tells make to consider the clean rule to be successful even if the del command returns failure. This may be acceptable since the del command will fail if the specified files to be deleted do not exist yet (or anymore).

IBM Copyright Statement

- + \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_basic.htm b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_basic.htm index 4a9b21fd3a1..8b998eb9b90 100644 --- a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_basic.htm +++ b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_basic.htm @@ -152,7 +152,7 @@ function goBack() {

CDT Managed Make Tutorial

- + diff --git a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_standard.htm b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_standard.htm index 97bdf5a2f57..ea5b1c68ead 100644 --- a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_standard.htm +++ b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_standard.htm @@ -3,7 +3,7 @@ - C/C++ Development Toolkit (CDT) Standard Make Tutorial + CDT Standard Make Tutorial