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

Next file: linux/arch/mips64/Makefile
Previous file: linux/arch/mips/sni/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/arch/mips/tools/Makefile linux/arch/mips/tools/Makefile
@@ -12,17 +12,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)