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

ifndef config
  config=debug64
endif
export config

PROJECTS := behaviac btunittest usertest demo_running btremotetest

.PHONY: all clean help $(PROJECTS)

all: $(PROJECTS)

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

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

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

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

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

clean:
	@${MAKE} --no-print-directory -C . -f behaviac.make clean
	@${MAKE} --no-print-directory -C . -f btunittest.make clean
	@${MAKE} --no-print-directory -C . -f usertest.make clean
	@${MAKE} --no-print-directory -C . -f demo_running.make clean
	@${MAKE} --no-print-directory -C . -f btremotetest.make clean

help:
	@echo "Usage: make [config=name] [target]"
	@echo ""
	@echo "CONFIGURATIONS:"
	@echo "   debug64"
	@echo "   release64"
	@echo ""
	@echo "TARGETS:"
	@echo "   all (default)"
	@echo "   clean"
	@echo "   behaviac"
	@echo "   btunittest"
	@echo "   usertest"
	@echo "   demo_running"
	@echo "   btremotetest"
	@echo ""
	@echo "For more information, see http://industriousone.com/premake/quick-start"
