-TOPDIR :=..
-L_TARGET := findutils.a
-
-obj-y :=
-obj-n :=
-obj- :=
-
-
-obj-$(CONFIG_FIND) += find.o
-obj-$(CONFIG_GREP) += grep.o
-obj-$(CONFIG_WHICH) += which.o
-obj-$(CONFIG_XARGS) += xargs.o
-
-
-# Hand off to toplevel Rules.mak
-include $(TOPDIR)/Rules.mak
+TOPDIR:= ../
+FINDUTILS_DIR:=./
+include $(TOPDIR).config
+include $(TOPDIR)Rules.mak
+include Makefile.in
+all: $(libraries-y)
+-include $(TOPDIR).depend