Permalink
Browse files

Make $(DMD) properly configurable.

  • Loading branch information...
alexrp
alexrp committed Apr 10, 2012
1 parent d862f1f commit 52b133b62f78d11e89b4298b364e8e4e183fedac
Showing with 4 additions and 4 deletions.
  1. +4 −4 posix.mak
View
@@ -61,7 +61,7 @@ DDOCFLAGS=-m$(MODEL) -d -c -o- -version=StdDdoc -I$(DRUNTIME_PATH)/import $(DMDE
# Variable defined in an OS-dependent manner (see below)
CC =
-DMD =
+DMD ?=
DDOC =
CFLAGS =
DFLAGS =
@@ -83,14 +83,14 @@ endif
# Set CC and DMD
ifeq ($(OS),win32wine)
CC = wine dmc.exe
- DMD = wine dmd.exe
+ DMD ?= wine dmd.exe
RUN = wine
else
ifeq ($(OS),win32remote)
- DMD = ssh 206.125.170.138 "cd code/dmd/phobos && dmd"
+ DMD ?= ssh 206.125.170.138 "cd code/dmd/phobos && dmd"
CC = ssh 206.125.170.138 "cd code/dmd/phobos && dmc"
else
- DMD = dmd
+ DMD ?= dmd
ifeq ($(OS),win32)
CC = dmc
else

0 comments on commit 52b133b

Please sign in to comment.