diff Makefile @ 0:d0f3646c41b0

Added top level make.
author samer
date Wed, 18 Jan 2012 12:10:34 +0000
parents
children 9694031adcea
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Wed Jan 18 12:10:34 2012 +0000
@@ -0,0 +1,21 @@
+# ---------------- configuration ----------------------
+
+# install directories
+export INSTALL_LIB_TO=~/lib/prolog/x86_64
+export INSTALL_PL_TO=~/lib/prolog/source
+
+# flags for install - BSD install seems to be different from GNU install
+export INSTALL_FLAGS='-bCS'
+
+PKGS="plrand plmidi plosc plsmf plml"
+
+# ---------------- end of configuration ---------------
+
+main: 
+	for f in "$(PKGS)"; do make -C $$f; done
+
+clean:
+	for f in "$(PKGS)"; do make -C $$f clean; done
+
+install: main
+	for f in "$(PKGS)"; do make -C $$f install; done