- Linus: drop support for old-style Makefiles entirely. Big.
[davej-history.git] / arch / parisc / tools / Makefile
blob54fad5647e8bcf9ad09023c683b87fc601661c7c
1 # Makefile for MIPS kernel build tools.
3 # Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
4 # Copyright (C) 1997 Ralf Baechle (ralf@gnu.ai.mit.edu)
6 # $Id: Makefile,v 1.3 1999/09/29 05:19:56 grundler Exp $
8 TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
10 .S.s:
11 $(CPP) $(CFLAGS) $< -o $*.s
12 .S.o:
13 $(CC) $(CFLAGS) -c $< -o $*.o
15 all: $(TARGET)
17 $(TARGET): offset.h
18 cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
20 offset.h: offset.s
21 sed -n '/^@@@/s///p' $^ >$@
23 offset.s: offset.c
25 clean:
26 rm -f offset.[hs] $(TARGET).new
28 include $(TOPDIR)/Rules.make