applets/applets.o must be rebuilt if usage.h is modified.
[oweals/busybox.git] / applets / Kbuild
1 # Makefile for busybox
2 #
3 # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
4 #
5 # Licensed under the GPL v2, see the file LICENSE in this tarball.
6
7 obj-y:=
8 obj-y   += applets.o
9 obj-y   += busybox.o
10
11 # Generated file needs additional love
12
13 applets/applets.o: include/usage_compressed.h
14
15 include/usage_compressed.h: $(srctree)/include/usage.h
16         @$(MAKE) $(build)=scripts
17         @echo '  GEN     include/usage_compressed.h'
18         @$(srctree)/scripts/usage_compressed include/usage_compressed.h scripts