automake: silence make output
[petitboot] / discover / grub2 / Makefile.am
index dda68354246e31102f78446035710b20bef0d673..0bff9fa772d4c98d8847028b23f67f97080ce1c9 100644 (file)
 
 noinst_PROGRAMS += discover/grub2/grub2-parser.ro
 
-discover/grub2/grub2-parser.ro$(EXEEXT): \
-               $(discover_grub2_grub2_parser_ro_OBJECTS)
-       $(LD) -r -o $@ $^
-
 discover_grub2_grub2_parser_ro_SOURCES = \
        discover/grub2/builtins.c \
        discover/grub2/env.c \
@@ -39,12 +35,13 @@ CLEANFILES += \
        discover/grub2/lexer.c \
        discover/grub2/lexer.h
 
-
 discover_grub2_grub2_parser_ro_CPPFLAGS = \
        $(AM_CPPFLAGS) \
        -I$(top_srcdir)/discover/grub2 \
        -I$(top_builddir)/discover/grub2
 
+discover_grub2_grub2_parser_ro_LINK = \
+       $(LD) -r -o $@
 
 # ylwrap doesn't handle flex header files well; use our own rule here.
 discover/grub2/lexer.h discover/grub2/lexer.c: \