Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 13 | include/asm-sh/machtypes.h: $(src)/gen-mach-types $(src)/mach-types |
| 14 | @echo ' Generating $@' |
Erik Johansson | 8cb661d | 2007-07-12 16:37:00 +0900 | [diff] [blame] | 15 | $(Q)if [ ! -d include/asm-sh ]; then mkdir -p include/asm-sh; fi |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } |