-TOPDIR :=..
-L_TARGET := applets.a
-EXTRA_CFLAGS+=-I $(TOPDIR)/applets
-
-obj-y :=
-obj-n :=
-obj- :=
-
-obj-y += applets.o busybox.o usage.o
-
-# Hand off to toplevel Rules.mak
-include $(TOPDIR)/Rules.mak
+TOPDIR:= ../
+APPLETS_DIR:=./
+include $(TOPDIR).config
+include $(TOPDIR)Rules.mak
+include Makefile.in
+all: $(libraries-y)
+-include $(TOPDIR).depend