blob: 2082af1f3fef7036601c0f09da06b414e02e4f19 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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
Sam Ravnborg3252b112009-10-17 22:20:22 +020013include/generated/machtypes.h: $(src)/gen-mach-types $(src)/mach-types
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 @echo ' Generating $@'
Sam Ravnborg3252b112009-10-17 22:20:22 +020015 $(Q)mkdir -p $(dir $@)
Michal Marek07105202010-01-08 12:25:37 +010016 $(Q)LC_ALL=C $(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }