File: Makefile

package info (click to toggle)
bash 2.03-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,804 kB
  • ctags: 5,268
  • sloc: ansic: 57,541; sh: 11,501; yacc: 2,808; makefile: 2,537; perl: 1,730; asm: 48
file content (24 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This is the Makefile for the examples subdirectory of readline. -*- text -*-
#
EXECUTABLES = fileman rltest rl
CFLAGS  = -g -I../.. -I..
LDFLAGS = -g -L..

.c.o:
	$(CC) $(CFLAGS) -c $<

all: $(EXECUTABLES)


rl: rl.o
	$(CC) $(LDFLAGS) -o $@ rl.o -lreadline -ltermcap

fileman: fileman.o
	$(CC) $(LDFLAGS) -o $@ fileman.o -lreadline -ltermcap

rltest: rltest.o
	$(CC) $(LDFLAGS) -o $@ rltest.o -lreadline -ltermcap

fileman.o: fileman.c
rltest.o: rltest.c
rl.o: rl.c