aboutsummaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2003-02-28 09:48:54 +0000
committerTom Schouten <doelie@users.sourceforge.net>2003-02-28 09:48:54 +0000
commit8227dc75b8e236f7f9629d1bc49fae0addee3def (patch)
tree13f2aec426201ee87dd0cbda0860082315dfa1ae /Makefile.config.in
parenta0aef64af84622e8d6d02c7714fb82178dea0286 (diff)
pdp config
svn path=/trunk/externals/pdp/; revision=440
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
new file mode 100644
index 0000000..2f163db
--- /dev/null
+++ b/Makefile.config.in
@@ -0,0 +1,38 @@
+# if configure can't find the m_pd.h header
+# specify pd's include path here and ignore the warning
+#
+#PD_CPPFLAGS=-I/path_to_pd_dir/src
+#PD_EXECUTABLE=/path_to_pd_dir/bin/pd
+PD_CPPFLAGS=@PD_CPPFLAGS@
+PD_EXECUTABLE=@PD_EXECUTABLE@
+
+
+prefix=@prefix@
+PDP_VERSION = @PDP_VERSION@
+PDP_TARGET = @PDP_TARGET@
+PDP_LIBRARY_NAME = @PDP_LIBRARY_NAME@
+PDP_OPTMOD = @PDP_OPTMOD@
+PDP_EXTRA_CPPFLAGS = @PDP_EXTRA_CPPFLAGS@
+SDL_FLAGS = -D_REENTRANT
+
+PDP_CPPFLAGS = -I. -I/usr/X11R6/include -I../include $(PD_CPPFLAGS) $(PDP_EXTRA_CPPFLAGS)
+PDP_LIBS = @LIBS@
+PDP_AFLAGS =
+#--gstabs
+PDP_CFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \
+ -Wall -W -Wstrict-prototypes -Werror \
+ -Wno-unused -Wno-parentheses -Wno-switch -DPDP_VERSION=\"$(PDP_VERSION)\" \
+ -g $(SDL_CFLAGS)
+# -Wshadow
+
+# compiler and assembler
+#CC = gcc-3.2
+#CC = gcc
+#AS = as
+
+# build rules
+
+.c.o:
+ $(CC) $(PDP_CFLAGS) $(PDP_CPPFLAGS) -o $*.o -c $*.c
+.s.o:
+ $(AS) -o $*.o $*.s $(PDP_AFLAGS)