diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-04-20 20:17:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-04-20 20:17:34 +0000 |
commit | 8cc7b94ab02545a6ba6ec042df6e6821941d0e93 (patch) | |
tree | 1c9f8d640f5320a29eed7c1663a1965b976cd63c /scripts/config/lxdialog/Makefile | |
parent | ca0bd7a35e550d8fbcc4d3fff61da03a7d35d0c4 (diff) | |
download | upstream-8cc7b94ab02545a6ba6ec042df6e6821941d0e93.tar.gz upstream-8cc7b94ab02545a6ba6ec042df6e6821941d0e93.tar.bz2 upstream-8cc7b94ab02545a6ba6ec042df6e6821941d0e93.zip |
add kconfig from linux 2.6 to scripts/config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3682 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config/lxdialog/Makefile')
-rw-r--r-- | scripts/config/lxdialog/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/config/lxdialog/Makefile b/scripts/config/lxdialog/Makefile new file mode 100644 index 0000000000..a82b2bac99 --- /dev/null +++ b/scripts/config/lxdialog/Makefile @@ -0,0 +1,20 @@ +# Makefile to build lxdialog package +# + +all: lxdialog + +# Use reursively expanded variables so we do not call gcc unless +# we really need to do so. (Do not call gcc as part of make mrproper) +CFLAGS := $(shell sh check-lxdialog.sh -ccflags) +LIBS := $(shell sh check-lxdialog.sh -ldflags gcc) + +always := $(hostprogs-y) dochecklxdialog + +%.o: %.c + $(CC) -c $(CFLAGS) -o $@ $< + +lxdialog: checklist.o menubox.o textbox.o yesno.o inputbox.o util.o lxdialog.o msgbox.o + $(CC) -o $@ $^ $(LIBS) + +clean: + rm -f *.o lxdialog |