OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [readline/] [examples/] [Makefile.in] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
# This is the Makefile for the examples subdirectory of readline. -*- text -*-
2
#
3
SHELL = @MAKE_SHELL@
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
        ${RM} $@
26
        $(CC) $(CCFLAGS) -c $<
27
 
28
EXECUTABLES = fileman rltest rl rlversion
29
OBJECTS = fileman.o rltest.o rl.o rlversion.o
30
 
31
all: $(EXECUTABLES)
32
 
33
rl: rl.o
34
        $(CC) $(LDFLAGS) -o $@ rl.o -lreadline $(TERMCAP_LIB)
35
 
36
fileman: fileman.o
37
        $(CC) $(LDFLAGS) -o $@ fileman.o -lreadline $(TERMCAP_LIB)
38
 
39
rltest: rltest.o
40
        $(CC) $(LDFLAGS) -o $@ rltest.o -lreadline $(TERMCAP_LIB)
41
 
42
rlversion: rlversion.o
43
        $(CC) $(LDFLAGS) -o $@ rlversion.o -lreadline $(TERMCAP_LIB)
44
 
45
clean mostlyclean:
46
        $(RM) $(OBJECTS)
47
        $(RM) $(EXECUTABLES)
48
 
49
distclean maintainer-clean: clean
50
        $(RM) Makefile
51
 
52
fileman.o: fileman.c
53
rltest.o: rltest.c
54
rl.o: rl.c
55
rlversion.o: rlversion.c

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.