defs.mk: Add definition of EXE from EXE_BASENAME

Add definition of $(EXE) from EXE_BASENAME. It might be nicer to have
this in some more exe related included makefile.
This commit is contained in:
Jan Lindemann 2007-11-03 20:37:29 +00:00 committed by Jan Lindemann
commit 8fc16cc347

View file

@ -45,6 +45,12 @@ MAJOR_MINOR_RELEASE = $(shell echo $(DIST_VERSION) | cut -d- -f1)
BUILD_NUMBER = $(shell echo $(DIST_VERSION) | cut -d- -f2)
CVS_RSH ?= /usr/bin/ssh
LD_LIBRARY_PATH_ENV := $(LD_LIBRARY_PATH)
ifneq ($(TARGET),mingw)
EXE ?= $(EXE_BASENAME)
else
EXE ?= $(EXE_BASENAME).exe
endif
# ----- input dirs
ifeq ($(PROJECT),ytools)