#-------------------------------------- # include and verify the users mk/conf.mk -include ../mk/conf.mk ifndef CONFIG_STATUS doConfigure: $(error Configuration file not defined. Please run make -f mk/configure.mk) #@make --no-print-directory -f ../mk/configure.mk else ifeq ($(CONFIG_STATUS),INVALID) doConfigure: $(error Invalid Configuration file. Please run make -f mk/configure.mk) #@make --no-print-directory -f mk/configure.mk else include ../mk/conf.$(COMPILER).$(OS).mk include ../mk/conf.$(COMPILER).mk endif endif all: max2mapExporter map2dif map2difPlus buildWad fonttool langc ifeq "$(COMPILER)" "VC6" # The MAX31 SDK requires VC++ :( include targets.max2dtsExporter.mk include targets.max2mapExporter.mk else # dummy target for other compilers max2dtsExporter: ; max2mapExporter: ; endif include targets.buildWad.mk include targets.fonttool.mk include targets.langc.mk include targets.map2difPlus.mk engine$(EXT.LIB): @make -s -C ../engine $(DIR.OBJ)/engine$(EXT.LIB) @make -s -C ../lib default include ../mk/conf.common.mk #default: # echo default. ifneq ($(MAKECMDGOALS),clean) -include $(addprefix $(DIR.OBJ)/, $(addsuffix $(DEP), $(basename $(filter %.cc %.c,$(SOURCE.ALL))))) endif