- add a few basic tests for pidof(8)
[oweals/busybox.git] / libbb / Makefile
index a9ea769473999ef2ecfceef5647bbeb2f6741f7b..6e6a398b45aa68b3128dce0b0f8de78090bcb4ce 100644 (file)
@@ -1,11 +1,19 @@
-# Silly wrapper makefile.  This Makefile is _not_ used by the build system for
-# busybox, it is just to make working on libbb more conveinient.
-#  -Erik Andersen
+# Makefile for busybox
+#
+# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
+#
+# Licensed under the GPL v2, see the file LICENSE in this tarball.
 
-all:
-       make -C .. libbb.a
+top_srcdir=..
+top_builddir=..
+srcdir=$(top_srcdir)/libbb
+LIBBB_DIR:=./
+include $(top_builddir)/Rules.mak
+include $(top_builddir)/.config
+include Makefile.in
+all: $(libraries-y)
+-include $(top_builddir)/.depend
 
 clean:
-       - rm -rf libbb.a
-       - find -name \*.o -exec rm -f {} \;
+       rm -f *.o *.a $(AR_TARGET)