#!/usr/bin/make -f

PLATFORMS=freebsd hpux linux osf solaris unix cygwin

no-option: error help
	@exit 1

error:
	@echo
	@echo "ERROR: Called without a platform specified!"
	@echo

help:
	@echo
	@echo "Please call ./configure with exactly one of the"
	@echo "defined target platforms as option:"
	@for i in $(PLATFORMS) ; do echo "    $$i" ; done
	@echo

$(PLATFORMS):
	cat platforms/$@/config.platform >./config.platform
