patch-2.4.0-test3 linux/arch/mips64/tools/Makefile

Next file: linux/arch/ppc/8260_io/uart.c
Previous file: linux/arch/mips64/sgi-ip27/ip27-timer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/arch/mips64/tools/Makefile linux/arch/mips64/tools/Makefile
@@ -13,17 +13,19 @@
 .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
+offset.s: offset.c $(TOPDIR)/include/linux/autoconf.h
 
 clean:
 	rm -f offset.[hs] $(TARGET).new
+	
+mrproper:	
+	rm -f offset.[hs] $(TARGET).new
+	rm -f $(TARGET)
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)