diff options
| author | 2014-12-15 00:08:00 +0100 | |
|---|---|---|
| committer | 2015-01-04 16:23:45 +0100 | |
| commit | c26b76f6b731c7ef23c384eba66ce69a879e3446 (patch) | |
| tree | 81a120f827a6daa2148a284a03115d6726cad401 /makefile | |
| parent | 12e8e314affeb77feee695437f0cb8461b53f3ff (diff) | |
Run build tools based on build OS
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -340,8 +340,14 @@ ifeq ($(TARGETOS),os2) EXE = .exe endif -ifndef BUILD_EXE -BUILD_EXE = $(EXE) +# extension for build tools +BUILD_EXE = + +ifeq ($(OS),Windows_NT) +BUILD_EXE = .exe +endif +ifneq ($(OS2_SHELL),) +BUILD_EXE = .exe endif # compiler, linker and utilities @@ -350,7 +356,7 @@ AR = @ar CC = @gcc LD = @g++ endif -MD = -mkdir$(EXE) +MD = -mkdir$(BUILD_EXE) RM = @rm -f OBJDUMP = @objdump PYTHON = @python |
