aboutsummaryrefslogtreecommitdiff
path: root/scaf/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'scaf/Makefile.config')
-rw-r--r--scaf/Makefile.config34
1 files changed, 34 insertions, 0 deletions
diff --git a/scaf/Makefile.config b/scaf/Makefile.config
new file mode 100644
index 0000000..7106a9f
--- /dev/null
+++ b/scaf/Makefile.config
@@ -0,0 +1,34 @@
+# pd's directory
+PD_DIR = /home/tom/pd/distro/pd
+PDP_DIR = /home/tom/pd/packet
+
+#PD_DIR = /usr/local/pd
+#PDP_DIR = /usr/local/pdp
+
+SCAF_DIR = $(PDP_DIR)/scaf
+
+
+
+
+# build flags
+
+PDP_CA_INCLUDE = -I$(PD_DIR)/src -I$(PDP_DIR)/include -I$(SCAF_DIR)/include
+PDP_CA_LIBS = -ldl
+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
+# -Wshadow
+
+# compiler and assembler
+CC = gcc-3.2
+#CC = gcc
+AS = as
+
+# build rules
+
+.c.o:
+ $(CC) $(PDP_CA_CFLAGS) $(PDP_CA_INCLUDE) -o $*.o -c $*.c
+.s.o:
+ $(AS) -o $*.o $*.s $(PDP_CA_AFLAGS)