freebsd-dev/contrib/libreadline/examples/Makefile.in

56 lines
1.1 KiB
Makefile
Raw Normal View History

# This is the Makefile for the examples subdirectory of readline. -*- text -*-
#
1999-05-28 01:59:23 +00:00
SHELL = @MAKE_SHELL@
1998-04-28 06:22:20 +00:00
RM = rm -f
srcdir = @srcdir@
VPATH = .:@srcdir@
top_srcdir = @top_srcdir@
BUILD_DIR = .
DEFS = @DEFS@
CC = @CC@
CFLAGS = @CFLAGS@
LOCAL_CFLAGS = @LOCAL_CFLAGS@
CPPFLAGS = @CPPFLAGS@
1999-05-28 01:59:23 +00:00
INCLUDES = -I$(srcdir) -I$(top_srcdir) -I..
CCFLAGS = $(DEFS) $(LOCAL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(CFLAGS)
LDFLAGS = -g -L..
1998-04-28 06:22:20 +00:00
TERMCAP_LIB = @TERMCAP_LIB@
.c.o:
1999-05-28 01:59:23 +00:00
${RM} $@
$(CC) $(CCFLAGS) -c $<
1999-05-28 01:59:23 +00:00
EXECUTABLES = fileman rltest rl rlversion
OBJECTS = fileman.o rltest.o rl.o rlversion.o
all: $(EXECUTABLES)
rl: rl.o
1998-04-28 06:22:20 +00:00
$(CC) $(LDFLAGS) -o $@ rl.o -lreadline $(TERMCAP_LIB)
fileman: fileman.o
1998-04-28 06:22:20 +00:00
$(CC) $(LDFLAGS) -o $@ fileman.o -lreadline $(TERMCAP_LIB)
rltest: rltest.o
1998-04-28 06:22:20 +00:00
$(CC) $(LDFLAGS) -o $@ rltest.o -lreadline $(TERMCAP_LIB)
1999-05-28 01:59:23 +00:00
rlversion: rlversion.o
$(CC) $(LDFLAGS) -o $@ rlversion.o -lreadline $(TERMCAP_LIB)
1998-04-28 06:22:20 +00:00
clean mostlyclean:
$(RM) $(OBJECTS)
$(RM) $(EXECUTABLES)
distclean maintainer-clean: clean
$(RM) Makefile
1998-04-28 06:22:20 +00:00
fileman.o: fileman.c
rltest.o: rltest.c
rl.o: rl.c
1999-05-28 01:59:23 +00:00
rlversion.o: rlversion.c