From 7591a024f184bd385d35583d19d86c1d5f2531ba Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Fri, 1 Sep 2006 13:45:31 +0000 Subject: pdp current darcs merge svn path=/trunk/externals/pdp/; revision=5816 --- opengl/Makefile.config | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'opengl/Makefile.config') diff --git a/opengl/Makefile.config b/opengl/Makefile.config index 4e59a4c..203420c 100644 --- a/opengl/Makefile.config +++ b/opengl/Makefile.config @@ -1,18 +1,25 @@ -PD_DIR = /home/tom/pd/distro/pd/src -PDP_DIR = /home/tom/pd/packet/include -PDP_OGL_DIR = /home/tom/pd/packet/opengl/include +prefix = /usr/local + +PDP_VERSION=0.12.5-darcs +PDP_DIR = ../../include +PDP_OGL_DIR = ../include CFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \ -Wall -W -Wstrict-prototypes -Werror \ -Wno-unused -Wno-parentheses -Wno-switch -g -CPPFLAGS = -I$(PD_DIR) -I$(PDP_DIR) -I$(PDP_OGL_DIR) -I/usr/X11R6/include + +CPPFLAGS = -I$(PDP_DIR) -I$(PDP_OGL_DIR) -I/usr/X11R6/include -DPDP_VERSION=\"$(PDP_VERSION)\" +# CPPFLAGS = -I$(PD_DIR) -I$(PDP_DIR) -I$(PDP_OGL_DIR) -I/usr/X11R6/include + LDFLAGS = -lGL -lglut TARGET=linux +PDP_OPENGL_LIBRARY_NAME=pdp_opengl.pd_$(TARGET) + #uncomment these for darwin: #TARGET=darwin #CPPFLAGS+=-I/sw/include -- cgit v1.2.1