aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-03 02:20:24 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-03 02:20:24 +0000
commit0dc933020bbd37805495b84ba208ade6254a84fb (patch)
tree0b0968c33c3047a75d253d031d6b1f8d6e2faee7 /Makefile
parentedcbcf6ae5371cd5e382ec2ec018f0c0caf38dca (diff)
simplified pdlib.tcl loading to just use c_externdir straight for loading, no hunting in the path
svn path=/trunk/externals/loaders/tclpd/; revision=15465
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index df7a5b9..7d86660 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ EXTRA_DIST = tcl.i tcl_extras.h pdlib.tcl pkgIndex.tcl $(TCLPD_SOURCES) ChangeLo
# -I"$(PD_INCLUDE)/pd" supports the header location for 0.43
INCLUDES = -I"$(PD_INCLUDE)/pd"
-CFLAGS = $(INCLUDES) -Wall -W -g -DPDSUF=\".$(EXTENSION)\" -std=c99
+CFLAGS = $(INCLUDES) -Wall -W -g
LDFLAGS =
LIBS =
LIBS_linux = -ltcl8.5
@@ -53,7 +53,7 @@ LIBS_windows = -ltcl85
# get library version from meta file
LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd)
-CFLAGS += -DPD -DVERSION='"$(LIBRARY_VERSION)"'
+CFLAGS += -DPD -DVERSION='"$(LIBRARY_VERSION)"' -std=c99
PD_INCLUDE = $(PD_PATH)/include
# where to install the library, overridden below depending on platform