summaryrefslogtreecommitdiffstats
path: root/tools/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index ebb085c..15e2eb9 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -2,12 +2,15 @@ if BUILD_TOOLS
2AM_CPPFLAGS = -I$(top_srcdir)/include 2AM_CPPFLAGS = -I$(top_srcdir)/include
3 3
4AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusb_CFLAGS) 4AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusb_CFLAGS)
5AM_LDFLAGS = $(libusb_LIBS) -lreadline 5AM_LDFLAGS = $(libusb_LIBS)
6 6
7bin_PROGRAMS = irecovery 7bin_PROGRAMS = irecovery
8 8
9irecovery_SOURCES = irecovery.c 9irecovery_SOURCES = irecovery.c
10irecovery_CFLAGS = $(AM_CFLAGS) 10irecovery_CFLAGS = $(AM_CFLAGS)
11irecovery_LDFLAGS = $(AM_LDFLAGS) 11irecovery_LDFLAGS = $(AM_LDFLAGS)
12if HAVE_READLINE
13irecovery_LDFLAGS += -lreadline
14endif
12irecovery_LDADD = $(top_builddir)/src/libirecovery-1.0.la 15irecovery_LDADD = $(top_builddir)/src/libirecovery-1.0.la
13endif 16endif