sh: migrate to arch/sh/include/
[linux-2.6.git] / arch / sh / tools / Makefile
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 arch/sh/include/asm/machtypes.h: $(src)/gen-mach-types $(src)/mach-types
14         @echo '  Generating $@'
15         $(Q)if [ ! -d arch/sh/include/asm ]; then mkdir -p arch/sh/include/asm; fi
16         $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }