relevant file snippets: configure.ac: AM_SILENT_RULES([yes])
Makefile.am: check_JAVA = Hello.java Now with make check you get output: CLASSPATH=.:./.:$CLASSPATH javac -d . Hello.java echo timestamp > classcheck.stamp As all sources are compiled with one command a silent javac output could be for example just JAVAC This would match the output for files other types like CC and CXX.