views:

126

answers:

1

I have the following PHONY target in Makefile

install: 
        echo /usr/bin/shelldecrypt must be writable
        cp shelldecrypt /usr/bin

When I run the target it displays the command it is executing

prompt> make install

OUTPUT IS


    echo /usr/bin/shelldecrypt must be writable 
    /usr/bin/shelldecrypt must be writable
    cp shelldecrypt /usr/bin

OUTPUT AS I WOULD LIKE IT


    /usr/bin/shelldecrypt must be writable
    cp shelldecrypt /usr/bin

+4  A: 

you could add "@" before your command to surpress that echo

install: 
        @echo /usr/bin/shelldecrypt must be writable
        cp shelldecrypt /usr/bin
kcwu
Thank you very much.
ojblass