aboutsummaryrefslogtreecommitdiff
path: root/applets/Makefile.in
blob: 391b4658c111103524211893b43e35a75a77d178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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