help in Makefile pls...
hi,
Is it possible to hide the build process in makefiles during the compilation and only display the echoes set?
for example:
all:
g++ -o foo foo.cpp
@echo 'building...'
If I type in make, the text display in the terminal would only be:
building...
How would I do this? Thanx in advance...
squinx22
Junior Poster in Training
68 posts since Mar 2007
Reputation Points: 7
Solved Threads: 2
AFAIK you can put @ in front of any command. And it'll be supressed. To suppress it's output as well, redirect to /dev/null or a file.
thekashyap
Practically a Posting Shark
811 posts since Feb 2007
Reputation Points: 254
Solved Threads: 75