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