Re: Avoiding command output on stdout

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
> Date: Tue, 30 Mar 2010 01:34:06 -0700 (PDT)
> From: nature <[email protected]>
> Cc: 
> 
> How to avoid commands being displayed on stdout during its execution?
> 
> $(OBJ):%.o:%.c
> 	@echo "Compiling $(<F)"
> 	$(CC) -c $< -o $(OBJDIR)/$@ -via b.txt
> 
> output:
> 
> "Compiling pc.c"
> armcc -c ..\..\..\.\platform\sc\pcm\src/pcm.c -o C:\OBJDIR\bin/pcm.o -via
> b.txt
> 
> I need only "Compiling pc.c" to be displayed.

Invoke Make with the -s command-line option.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.