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.