Makefile 451 B

1234567891011121314151617
  1. #
  2. # arch/sh/tools/Makefile
  3. #
  4. # Copyright (C) 2003 Paul Mundt
  5. #
  6. # This file is subject to the terms and conditions of the GNU General Public
  7. # License. See the file "COPYING" in the main directory of this archive
  8. # for more details.
  9. #
  10. # Shamelessly cloned from ARM.
  11. #
  12. include/generated/machtypes.h: $(src)/gen-mach-types $(src)/mach-types
  13. @echo ' Generating $@'
  14. $(Q)mkdir -p $(dir $@)
  15. $(Q)LC_ALL=C $(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }