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