aboutsummaryrefslogtreecommitdiff
path: root/Makefile.config.in
blob: 204525c61137bb1cd3c91e4b1733f89ab1f2545e (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 \
    -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