I have a simple Makefile:
default:
@make build
@make run
build:
@javac Test.java > /dev/null
run:
@java Test
During compilation, make outputs:
make[1]: Entering directory `<current directory'>
...
make[1]: Leaving directory `<current directory'>
I need make to build without printing these messages. Does anybody know what the problem or how to suppress these messages?
Thanks
edit: this happens regardless of the code. e.g. it happens with:
class Test {
public static void main(String[] args) {
System.out.println("HELLO WORLD");
}
}
Change
maketomake -s:Better still:
Even better: