1 # Makefile to build lxdialog package
6 # Use reursively expanded variables so we do not call gcc unless
7 # we really need to do so. (Do not call gcc as part of make mrproper)
8 CFLAGS
:= $(shell sh check-lxdialog.sh
-ccflags
)
9 LIBS
:= $(shell sh check-lxdialog.sh
-ldflags gcc
)
11 always
:= $(hostprogs-y
) dochecklxdialog
14 $(CC
) -c
$(CFLAGS
) -o
$@
$<
16 lxdialog
: checklist.o menubox.o textbox.o yesno.o inputbox.o util.o lxdialog.o msgbox.o
17 $(CC
) -o
$@
$^
$(LIBS
)