blob: 98b144c1042da1757b7cbb0c6446b077b1e20566 [file] [log] [blame]
Eric Andersenbdfd0d72001-10-24 05:00:29 +00001# Makefile for busybox
2#
Mike Frysinger62f18e12005-09-24 07:16:29 +00003# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
Eric Andersenbdfd0d72001-10-24 05:00:29 +00004#
Mike Frysinger62f18e12005-09-24 07:16:29 +00005# Licensed under the GPL v2, see the file LICENSE in this tarball.
Eric Andersenb183dfa2001-03-19 19:24:06 +00006
Bernhard Reutner-Fischer022eb312006-03-02 17:33:25 +00007ifndef top_srcdir
Eric Andersen7daa0762004-10-08 07:46:08 +00008top_srcdir=..
Bernhard Reutner-Fischer022eb312006-03-02 17:33:25 +00009endif
10ifndef top_builddir
Eric Andersen7daa0762004-10-08 07:46:08 +000011top_builddir=..
Bernhard Reutner-Fischer022eb312006-03-02 17:33:25 +000012endif
Eric Andersen7daa0762004-10-08 07:46:08 +000013srcdir=$(top_srcdir)/libbb
Eric Andersen85208e22002-04-12 12:05:57 +000014LIBBB_DIR:=./
Mike Frysinger39440e52006-05-13 02:33:09 +000015include $(top_srcdir)/Rules.mak
Eric Andersen7daa0762004-10-08 07:46:08 +000016include $(top_builddir)/.config
Eric Andersen85208e22002-04-12 12:05:57 +000017include Makefile.in
18all: $(libraries-y)
Eric Andersen7daa0762004-10-08 07:46:08 +000019-include $(top_builddir)/.depend
Eric Andersenb183dfa2001-03-19 19:24:06 +000020
21clean:
Eric Andersen85208e22002-04-12 12:05:57 +000022 rm -f *.o *.a $(AR_TARGET)
23