Makefile
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  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. #
  8. TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
  9. .S.s:
  10. $(CPP) $(CFLAGS) $< -o $*.s
  11. .S.o:
  12. $(CC) $(CFLAGS) -c $< -o $*.o
  13. all: $(TARGET)
  14. $(TARGET): offset.h
  15. cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
  16. offset.h: offset.s
  17. sed -n '/^@@@/s///p' $^ >$@
  18. offset.s: offset.c
  19. include $(TOPDIR)/Rules.make