mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Now automatically setting target MINGW, depending on cwd name
This commit is contained in:
parent
7c518da909
commit
699e1935ff
1 changed files with 7 additions and 0 deletions
|
|
@ -5,6 +5,12 @@
|
|||
ifndef YTOOLS_DEF_MK_INCLUDED
|
||||
YTOOLS_DEF_MK_INCLUDED = true
|
||||
|
||||
ifndef ($(TARGET))
|
||||
ifneq ($(findstring mingw,$(shell pwd)),)
|
||||
TARGET = mingw
|
||||
endif
|
||||
endif
|
||||
|
||||
# ----- pre-local.mk
|
||||
|
||||
ifneq ($(wildcard $(MODDIR)/make/pre-local.mk),)
|
||||
|
|
@ -20,6 +26,7 @@ include pre-local.mk
|
|||
endif
|
||||
|
||||
# ----- standard variables
|
||||
|
||||
ifeq ($(TARGET),mingw)
|
||||
FLAVOUR_PREFIX ?= win32-
|
||||
FLAVOUR_SUFFIX ?= -win32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue