busybox/applets/Makefile.in
2006-03-09 09:03:37 +00:00

21 lines
554 B
Makefile

# 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.
srcdir:=$(top_srcdir)/applets
objdir:=$(top_builddir)/applets
APPLETS_SRC:= $(patsubst %,$(srcdir)/%,applets.c busybox.c version.c)
APPLET_SRC-y+=$(APPLETS_SRC)
APPLET_SRC-a+=$(APPLETS_SRC)
applets_OBJ:=$(patsubst $(srcdir)/%.c,$(objdir)/%.o,$(APPLETS_SRC))
$(applets_OBJ): $(objdir)/%.o: $(srcdir)/%.c
$(objdir)/applets.a: $(applets_OBJ)
libraries-y:=$(libraries-y) $(objdir)/applets.a