diff options
author | ache <ache@FreeBSD.org> | 1997-01-04 22:09:20 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-01-04 22:09:20 +0000 |
commit | 5d98671f252cc8d4b22d6e8ffce71b258ee939f0 (patch) | |
tree | 6822689bcd9b7862b11511ae1f1ae9a0baec61bc /contrib/libreadline/examples/Makefile | |
download | FreeBSD-src-5d98671f252cc8d4b22d6e8ffce71b258ee939f0.zip FreeBSD-src-5d98671f252cc8d4b22d6e8ffce71b258ee939f0.tar.gz |
Libreadline.
Diffstat (limited to 'contrib/libreadline/examples/Makefile')
-rw-r--r-- | contrib/libreadline/examples/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/libreadline/examples/Makefile b/contrib/libreadline/examples/Makefile new file mode 100644 index 0000000..cfa7745 --- /dev/null +++ b/contrib/libreadline/examples/Makefile @@ -0,0 +1,19 @@ +# This is the Makefile for the examples subdirectory of readline. -*- text -*- +# +EXECUTABLES = fileman rltest +CFLAGS = -g -I../.. -I.. +LDFLAGS = -g -L.. + +.c.o: + $(CC) $(CFLAGS) -c $< + +all: $(EXECUTABLES) + +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 |