linux-old/arch/parisc/tools/Makefile
<<
>>
Prefs
   1# Makefile for MIPS kernel build tools.
   2#
   3# Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
   4# Copyright (C) 1997 Ralf Baechle (ralf@gnu.ai.mit.edu)
   5#
   6# $Id: Makefile,v 1.3 1999/09/29 05:19:56 grundler Exp $
   7#
   8TARGET  := $(TOPDIR)/include/asm-$(ARCH)/offset.h
   9
  10.S.s:
  11        $(CPP) $(CFLAGS) $< -o $*.s
  12.S.o:
  13        $(CC) $(CFLAGS) -c $< -o $*.o
  14
  15all: $(TARGET)
  16
  17$(TARGET): offset.h
  18        cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
  19
  20offset.h: offset.s
  21        sed -n '/^@@@/s///p' $^ >$@
  22
  23offset.s: offset.c
  24
  25include $(TOPDIR)/Rules.make
  26
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.