aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-07-30 13:16:44 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-07-30 13:16:44 +0000
commitfa6854db906853331ff48b84024cfde5c366d7d8 (patch)
tree7d78e04c831abe75197549e8906322d3d6a1456f
parenta4421a17ccb00672c5a25142d892d83aa50c2b24 (diff)
use PD_PATH rather than pd_src to point to to Pd's path (including it's sources)
svn path=/trunk/externals/ext13/; revision=11891
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index b528fe9..e0f856d 100644
--- a/Makefile
+++ b/Makefile
@@ -18,12 +18,12 @@ SOURCES_Windows =
#
#------------------------------------------------------------------------------#
-# where the pd source is
-pd_src = ../../pd
+# where Pd lives
+PD_PATH = ../../pd
# where to install the library
-objectsdir = $(pd_src)/extra
+objectsdir = $(PD_PATH)/extra
-CFLAGS = -DPD -I$(pd_src)/src -Wall -W -g
+CFLAGS = -DPD -I$(PD_PATH)/src -Wall -W -g
LDFLAGS =
LIBS =
@@ -57,7 +57,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
WINDOWS_HACKS = -D'O_NONBLOCK=1'
CFLAGS += -mms-bitfields $(WINDOWS_HACKS)
LDFLAGS += -s -shared -Wl,--enable-auto-import
- LIBS += -L$(pd_src)/bin -L$(pd_src)/obj -lpd -lwsock32 -lkernel32 -luser32 -lgdi32
+ LIBS += -L$(PD_PATH)/bin -L$(PD_PATH)/obj -lpd -lwsock32 -lkernel32 -luser32 -lgdi32
STRIP = strip --strip-unneeded -R .note -R .comment
endif
@@ -136,7 +136,7 @@ etags:
etags *.[ch] ../../pd/src/*.[ch] /usr/include/*.h /usr/include/*/*.h
showpaths:
- @echo "pd_src: $(pd_src)"
+ @echo "PD_PATH: $(PD_PATH)"
@echo "objectsdir: $(objectsdir)"
@echo "LIBRARY_NAME: $(LIBRARY_NAME)"
@echo "SOURCES: $(SOURCES)"