# GNU Make solution makefile autogenerated by Premake
# Type "make help" for usage help

ifndef config
  config=debug
endif
export config

PROJECTS := DS LLOYD EVAL

.PHONY: all clean help $(PROJECTS)

all: $(PROJECTS)

DS: 
	@echo "==== Building DS ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f DS.make

LLOYD: 
	@echo "==== Building LLOYD ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f LLOYD.make

EVAL: 
	@echo "==== Building EVAL ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f EVAL.make

clean:
	@${MAKE} --no-print-directory -C . -f DS.make clean
	@${MAKE} --no-print-directory -C . -f LLOYD.make clean
	@${MAKE} --no-print-directory -C . -f EVAL.make clean

help:
	@echo "Usage: make [config=name] [target]"
	@echo ""
	@echo "CONFIGURATIONS:"
	@echo "   debug"
	@echo "   release"
	@echo "   debugkmeans"
	@echo "   releasekmeans"
	@echo ""
	@echo "TARGETS:"
	@echo "   all (default)"
	@echo "   clean"
	@echo "   DS"
	@echo "   LLOYD"
	@echo "   EVAL"
	@echo ""
	@echo "For more information, see http://industriousone.com/premake/quick-start"
