aboutsummaryrefslogtreecommitdiff
path: root/scaf/Makefile.config
diff options
context:
space:
mode:
authorPablo Martín <caedesv@users.sourceforge.net>2003-09-07 20:03:53 +0000
committerPablo Martín <caedesv@users.sourceforge.net>2003-09-07 20:03:53 +0000
commitc5bc1501b93b66d9297dc6d5e17c8fb7e2fcbb31 (patch)
treeaca88ac68b6a89537577423fd89b573b578127a5 /scaf/Makefile.config
parente20d5ae3622d5d656dc28d7a090aee76b08158b0 (diff)
Updating pdp to current version 0.12.2
svn path=/trunk/externals/pdp/; revision=937
Diffstat (limited to 'scaf/Makefile.config')
-rw-r--r--scaf/Makefile.config30
1 files changed, 30 insertions, 0 deletions
diff --git a/scaf/Makefile.config b/scaf/Makefile.config
new file mode 100644
index 0000000..697c323
--- /dev/null
+++ b/scaf/Makefile.config
@@ -0,0 +1,30 @@
+# build flags
+
+# define the include paths here if configure can't find them
+# PDP_CFLAGS=-I/somehere/pdp/include
+# PD_CFLAGS=-I/somewhere/pd/src
+
+
+prefix=/usr/local
+PDP_CA_INCLUDE = -I/home/knoppix/PD/src/pdp-0.12.2/include
+PDP_CA_LIBS = -I/home/knoppix/PD/src/pdp-0.12.2/src
+DEFAULT_RULES_LIB = /usr/local/lib/scaf/default.scafo
+PDP_CA_AFLAGS =
+#--gstabs
+PDP_CA_CFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \
+ -Wall -W -Wstrict-prototypes -Werror \
+ -Wno-unused -Wno-parentheses -Wno-switch -g $(PDP_CFLAGS) $(PD_CFLAGS) \
+ -DPDP_CA_RULES_LIB=\"$(DEFAULT_RULES_LIB)\"
+# -Wshadow
+
+# compiler and assembler
+#CC = gcc-3.2
+#CC = gcc
+#AS = as
+
+# build rules
+
+.c.o:
+ $(CC) $(PDP_CA_CFLAGS) $(PDP_CA_INCLUDE) $(PDP_CA_DEFS) -o $*.o -c $*.c
+.s.o:
+ $(AS) -o $*.o $*.s $(PDP_CA_AFLAGS)