# GNU Make workspace makefile autogenerated by Premake

ifndef config
  config=debug_native
endif

ifndef verbose
  SILENT = @
endif

ifeq ($(config),debug_native)
  basic_viewer_config = debug_native
endif
ifeq ($(config),debug_x64)
  basic_viewer_config = debug_x64
endif
ifeq ($(config),debug_x32)
  basic_viewer_config = debug_x32
endif
ifeq ($(config),release_native)
  basic_viewer_config = release_native
endif
ifeq ($(config),release_x64)
  basic_viewer_config = release_x64
endif
ifeq ($(config),release_x32)
  basic_viewer_config = release_x32
endif

PROJECTS := basic_viewer

.PHONY: all clean help $(PROJECTS) 

all: $(PROJECTS)

basic_viewer:
ifneq (,$(basic_viewer_config))
	@echo "==== Building basic_viewer ($(basic_viewer_config)) ===="
	@${MAKE} --no-print-directory -C . -f basic_viewer.make config=$(basic_viewer_config)
endif

clean:
	@${MAKE} --no-print-directory -C . -f basic_viewer.make clean

help:
	@echo "Usage: make [config=name] [target]"
	@echo ""
	@echo "CONFIGURATIONS:"
	@echo "  debug_native"
	@echo "  debug_x64"
	@echo "  debug_x32"
	@echo "  release_native"
	@echo "  release_x64"
	@echo "  release_x32"
	@echo ""
	@echo "TARGETS:"
	@echo "   all (default)"
	@echo "   clean"
	@echo "   basic_viewer"
	@echo ""
	@echo "For more information, see https://github.com/premake/premake-core/wiki"