aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-07-26 18:01:14 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-07-26 18:01:14 +0000
commitb92abd83ae5237f8dbb1cc89af8697e3c54a45c8 (patch)
tree388af0264d39b8fdf63b580c7373e2090a6b1197 /Makefile
parent835a4395daba462ac64718ac794eaffe1ecd5ff3 (diff)
fixed finding stuff in %ProgramFiles% correctly, needed to eval the var not in the Makefile but the shell
svn path=/trunk/externals/template/; revision=15165
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 508b830..a323fbc 100644
--- a/Makefile
+++ b/Makefile
@@ -178,7 +178,7 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
SOURCES += $(SOURCES_cygwin)
EXTENSION = dll
OS = cygwin
- PD_PATH = $(cygpath $(ProgramFiles))/pd
+ PD_PATH = $(shell cygpath $$PROGRAMFILES)/pd
OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
CFLAGS +=
LDFLAGS += -Wl,--export-dynamic -shared -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin"
@@ -191,7 +191,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
SOURCES += $(SOURCES_windows)
EXTENSION = dll
OS = windows
- PD_PATH = $(shell cd "$(ProgramFiles)"/pd && pwd)
+ PD_PATH = $(shell cd "$$PROGRAMFILES/pd" && pwd)
# MinGW doesn't seem to include cc so force gcc
CC=gcc
OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer