view Makefile @ 6:dec0bab6e38d

Added source control targets to Makefile
author samer
date Thu, 02 Feb 2012 00:31:15 +0000
parents 0f59c25041b8
children 17e9e198afcc
line wrap: on
line source
# ---------------- configuration ----------------------

# install directories
export INSTALL_LIB_TO=~/lib/prolog/x86_64
export INSTALL_PL_TO=~/lib/prolog

# flags for install - BSD install seems to be different from GNU install
export INSTALL_FLAGS='-bCS'

PKGS="player hdplm plsc plumdrum plumbing hdpmusic reactive"

# ---------------- 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

pull:
	for f in "$(PKGS)"; do (cd $$f && hg pull); done

diff:
	for f in "$(PKGS)"; do (cd $$f && hg diff); done

push:
	for f in "$(PKGS)"; do (cd $$f && hg diff); done