aboutsummaryrefslogtreecommitdiff
path: root/scaf/Makefile.config
blob: 4ddb31c98741885f4b0e17d3b75f4f78cfa0a8a1 (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
# 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/usr/local/include/pdp   -I/home/tom/pdcvs/externals/pdp/scaf/include
PDP_CA_LIBS = -ldl -lm 
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 -I../include -I../../include \
    -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)