Makefile
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
- # Makefile for MIPS kernel build tools.
- #
- # Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
- # Copyright (C) 1997 Ralf Baechle (ralf@gnu.ai.mit.edu)
- #
- # $Id: Makefile,v 1.3 1999/09/29 05:19:56 grundler Exp $
- #
- TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
- .S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
- .S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
- all: $(TARGET)
- $(TARGET): offset.h
- cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
- offset.h: offset.s
- sed -n '/^@@@/s///p' $^ >$@
- offset.s: offset.c
- clean:
- rm -f offset.[hs] $(TARGET).new
- include $(TOPDIR)/Rules.make