projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
casl2/opt_opterrテストを修正
[YACASL2.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2797559
..
c5e491e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,13
+1,20
@@
-prefix = $(HOME)
-.PHPNY: all clean check install uninstall
-all:
+ifndef prefix
+ prefix = $(HOME)
+endif
+CLEANDIR = src test/integration test/unit as/casl2lib
+.PHPNY: all build clean check doc casl2lib install uninstall
+all: build casl2lib
+build:
make -C src
make -C src
+casl2lib:
+ @make -C as/casl2lib
check:
check:
- make -C test/integration
+ @make -sC test/integration
+doc:
+ @make -sC doc
clean:
clean:
- make -C src clean
- make -C test/integration clean
- make -C test/unit clean
+ @for target in $(CLEANDIR); do $(MAKE) -sC $$target clean; done; \
+ rm -f casl2 comet2 dumpword
install: all
@if test -d $(prefix); then \
install -s ./casl2 $(prefix)/casl2; \
install: all
@if test -d $(prefix); then \
install -s ./casl2 $(prefix)/casl2; \