1 # This is the Makefile for the examples subdirectory of readline. -*- text -*-
8 top_srcdir = @top_srcdir@
14 LOCAL_CFLAGS = @LOCAL_CFLAGS@
17 INCLUDES = -I $(srcdir) -I $(top_srcdir) -I..
19 CCFLAGS = $(DEFS) $(LOCAL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(CFLAGS)
22 TERMCAP_LIB = @TERMCAP_LIB@
25 $(CC) $(CCFLAGS) -c $<
27 EXECUTABLES = fileman rltest rl
28 OBJECTS = fileman.o rltest.o rl.o
33 $(CC) $(LDFLAGS) -o $@ rl.o -lreadline $(TERMCAP_LIB)
36 $(CC) $(LDFLAGS) -o $@ fileman.o -lreadline $(TERMCAP_LIB)
39 $(CC) $(LDFLAGS) -o $@ rltest.o -lreadline $(TERMCAP_LIB)
45 distclean maintainer-clean: clean