aboutsummaryrefslogtreecommitdiff
path: root/Makefile.config.in
blob: 6ba5eb638b9b867870e5f40ae47c948592a04a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PD_INCLUDE_DIR = @PD_INCLUDE_DIR@
LIBNAME = @LIBNAME@
LIBFLAGS = @LIBFLAGS@

prefix=@prefix@
CREB_VERSION = 0.9.2

DEFS = -DPD -DCREB_VERSION=\"$(CREB_VERSION)\"
CFLAGS = $(DEFS) -O2 -funroll-loops -fomit-frame-pointer \
    -Wall -W -Wstrict-prototypes -Werror \
    -Wno-unused -Wno-parentheses -Wno-switch # -Wshadow
INCLUDE =  -I$(PD_INCLUDE_DIR) -I../include -I../include/dspi

.c.o:
	$(CC) $(CFLAGS) $(INCLUDE) -o $*.o -c $*.c 
.cc.o:
	$(CXX) $(CFLAGS) $(INCLUDE) -o $*.o -c $*.cc