aboutsummaryrefslogtreecommitdiff
path: root/scaf/Makefile.config
blob: 7106a9fda81348f43e6f79bedb770f17469b0fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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)