summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2010-07-31 20:14:07 +0100
committerReuben Thomas <rrt@sc3d.org>2010-07-31 20:14:07 +0100
commitc37e2f1f4098d15302343459150da3a4f9e1df4e (patch)
tree929f39600d82d9607c8d6ccf76ac0e476f845c96 /Makefile
parentd1152cf9502e53b4f8191cd948badf2003745f11 (diff)
downloadlrexlib-c37e2f1f4098d15302343459150da3a4f9e1df4e.tar.gz
To be more compatible with GNU autotools, make “check” target depend
on “all”, and make previous “build” target the new “all” target. Make the comment in top-level Makefile about where to look for user settings include defaults.mak.
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7eaa72d..0476399 100755
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,15 @@
# Makefile for lrexlib
-# See src/*/Makefile for user-definable settings
+# See src/*/Makefile and src/defaults.mak for user-definable settings
REGNAMES = gnu pcre posix oniguruma tre
-all: build check
-
-build:
+all:
@for i in $(REGNAMES); do \
make -C src/$$i; \
done
-check:
+check: all
@for i in $(REGNAMES); do \
make -C src/$$i check; \
done