
# SimParm: Simple and flexible C++ configuration framework
# Copyright (C) 2007 Australian National University
# 
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
# 
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
# 
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
# 
# Contact:
# Kevin Pulo
# kevin.pulo@anu.edu.au
# Leonard Huxley Bldg 56
# Australian National University, ACT, 0200, Australia


# This'll get autoconfiscated one day.

# Choose your installation directories
PREFIX=/usr/local
#PREFIX=$(HOME)
#PREFIX=$(HOME)/simparm
BIN_PREFIX=$(PREFIX)/bin
LIB_PREFIX=$(PREFIX)/lib
INCLUDE_PREFIX=$(PREFIX)/include
SHARE_PREFIX=$(PREFIX)/share

# Choose your compiler, gcc or Intel compilers
COMPILER=gcc
#COMPILER=intel

# Java stuff
JAVAC=javac
JAVA=java
JAR=jar

# Utilities
RANLIB=ranlib
LN_S=ln -s
INSTALL=install
RM=rm


################################################################
################################################################
################################################################

export

# Order matters for this list
SUBDIRS=libsimparm twiddler multiplex examples

.DEFAULT all:
	for s in $(SUBDIRS); do $(MAKE) -C $$s -w $@; done

