diff options
author | Jari Aalto <jari.aalto@cante.net> | 1996-12-23 17:02:34 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:49 +0000 |
commit | ccc6cda312fea9f0468ee65b8f368e9653e1380b (patch) | |
tree | b059878adcfd876c4acb8030deda1eeb918c7e75 /lib/readline/examples/Makefile | |
parent | 726f63884db0132f01745f1fb4465e6621088ccf (diff) | |
download | android_external_bash-ccc6cda312fea9f0468ee65b8f368e9653e1380b.tar.gz android_external_bash-ccc6cda312fea9f0468ee65b8f368e9653e1380b.tar.bz2 android_external_bash-ccc6cda312fea9f0468ee65b8f368e9653e1380b.zip |
Imported from ../bash-2.0.tar.gz.
Diffstat (limited to 'lib/readline/examples/Makefile')
-rw-r--r-- | lib/readline/examples/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/lib/readline/examples/Makefile b/lib/readline/examples/Makefile index 3d1fc52..cfa7745 100644 --- a/lib/readline/examples/Makefile +++ b/lib/readline/examples/Makefile @@ -1,12 +1,19 @@ # This is the Makefile for the examples subdirectory of readline. -*- text -*- # - -EXECUTABLES = fileman -CFLAGS = -g -I../.. +EXECUTABLES = fileman rltest +CFLAGS = -g -I../.. -I.. LDFLAGS = -g -L.. +.c.o: + $(CC) $(CFLAGS) -c $< + +all: $(EXECUTABLES) + fileman: fileman.o - $(CC) $(LDFLAGS) -o fileman fileman.o -lreadline -ltermcap + $(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 |