Mercurial > hg > plibs
diff Makefile.templ @ 2:d13a95edfd2a
Added dependencies graph and template subproject Makefile
author | samer |
---|---|
date | Mon, 23 Jan 2012 20:28:22 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile.templ Mon Jan 23 20:28:22 2012 +0000 @@ -0,0 +1,15 @@ +INSTALL_PL_TO=~/lib/prolog +SUBDIR=humdrum +ROOT_MODULES="humdrum" +SUB_MODULES="dynam humutils kern_rules reps interps kernutils humdrum_world kern refcodes" + +main: + +install: + install -d $(INSTALL_PL_TO) + install -d $(INSTALL_PL_TO)/$(SUBDIR) + for f in "$(ROOT_MODULES)"; do install $(INSTALL_FLAGS) -m 644 $$f.pl $(INSTALL_PL_TO); done + for f in "$(SUB_MODULES)"; do install $(INSTALL_FLAGS) -m 644 $$f.pl $(INSTALL_PL_TO)/$(SUBDIR); done + + +