What's dev_make.exe? Did you rename the make in the msys/bin folder or something?
No rule to make target `Debug' & No rule to make target `Release' are exactly what they say, there are no rules for either of those targets. You can add said targets relatively easily
Code: Select all
.PHONY: $(BUILD) clean Release Debug
#---------------------------------------------------------------------------------
$(BUILD):
@[ -d $@ ] || mkdir -p $@
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
Release: $(BUILD)
Debug: $(BUILD)
First change the BUILD and TARGET variables so they can be overridden, from this
Code: Select all
TARGET := $(shell basename $(CURDIR))
BUILD := build
Code: Select all
TARGET ?= $(shell basename $(CURDIR))
BUILD ?= build
Code: Select all
.PHONY: Debug Release $(BUILD) clean
#---------------------------------------------------------------------------------
$(BUILD):
@[ -d $@ ] || mkdir -p $@
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
Debug:
$(MAKE) BUILD=DebugBuild TARGET=$(shell basename $(CURDIR))d
Release:
$(MAKE) BUILD=ReleaseBuild TARGET=$(shell basename $(CURDIR))