Initial creation of sourceware repository
[deliverable/binutils-gdb.git] / readline / examples / Makefile.in
CommitLineData
d60d9f65
SS
1# This is the Makefile for the examples subdirectory of readline. -*- text -*-
2#
3SHELL = /bin/sh
4RM = rm -f
5
6srcdir = @srcdir@
7VPATH = .:@srcdir@
8top_srcdir = @top_srcdir@
9BUILD_DIR = .
10
11DEFS = @DEFS@
12CC = @CC@
13CFLAGS = @CFLAGS@
14LOCAL_CFLAGS = @LOCAL_CFLAGS@
15CPPFLAGS = @CPPFLAGS@
16
17INCLUDES = -I $(srcdir) -I $(top_srcdir) -I..
18
19CCFLAGS = $(DEFS) $(LOCAL_CFLAGS) $(CPPFLAGS) $(INCLUDES) $(CFLAGS)
20LDFLAGS = -g -L..
21
22TERMCAP_LIB = @TERMCAP_LIB@
23
24.c.o:
25 $(CC) $(CCFLAGS) -c $<
26
27EXECUTABLES = fileman rltest rl
28OBJECTS = fileman.o rltest.o rl.o
29
30all: $(EXECUTABLES)
31
32rl: rl.o
33 $(CC) $(LDFLAGS) -o $@ rl.o -lreadline $(TERMCAP_LIB)
34
35fileman: fileman.o
36 $(CC) $(LDFLAGS) -o $@ fileman.o -lreadline $(TERMCAP_LIB)
37
38rltest: rltest.o
39 $(CC) $(LDFLAGS) -o $@ rltest.o -lreadline $(TERMCAP_LIB)
40
41clean mostlyclean:
42 $(RM) $(OBJECTS)
43 $(RM) $(EXECUTABLES)
44
45distclean maintainer-clean: clean
46 $(RM) Makefile
47
48fileman.o: fileman.c
49rltest.o: rltest.c
50rl.o: rl.c
This page took 0.024202 seconds and 4 git commands to generate.