repositories
/
CleanReadLine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed issue 1, changed function type of readline
[CleanReadLine.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ae01361
..
48a27cc
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,11
+1,20
@@
SHELL:=/bin/bash
SHELL:=/bin/bash
-CLM=clm
-CLMFLAGS=-nt -l /usr/lib/libreadline.so
+CLM:=clm
+CLMFLAGS:=-nt -l /usr/lib/libreadline.so
+LIBRARYDIR:=Clean\ System\ Files
+BINARIES:=test testscripts/issue1
-all: test
+.PHONY: readline clean
+
+all: readline $(BINARIES)
+
+readline:
+ $(MAKE) -C $(LIBRARYDIR)
%: %.icl
$(CLM) $(CLMFLAGS) $(basename $<) -o $@
clean:
%: %.icl
$(CLM) $(CLMFLAGS) $(basename $<) -o $@
clean:
- $(RM) -v test Clean\ System\ Files/{ReadLine,test}.*
+ $(MAKE) -C $(LIBRARYDIR) clean
+ $(RM) -v $(BINARIES)
+ $(RM) -v $(addprefix $(LIBRARYDIR)/,$(addsuffix .*,$(BINARIES)))