aboutsummaryrefslogtreecommitdiff
path: root/pdp_freeframe/Makefile.config
blob: 986e6cef5985fd2c413c8301af8ad30d773c541e (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
# if configure can't find the m_pd.h header         
# specify pd's include path here and ignore the warning
#
FF_PLUGIN_DIR=/usr/lib/FreeFrame
PD_CPPFLAGS=-I../../../pd/src
PDP_CFLAGS=-I../../pdp/include -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O2 -funroll-loops -fomit-frame-pointer -ffast-math -freg-struct-return -DLINUX

prefix=/usr/local
PDP_VERSION = 0.0.1
PDP_TARGET = linux
PDP_LIBRARY_NAME = pdp_freeframe.pd_linux

PDP_CPPFLAGS =  -fPIC -I. -I/usr/X11R6/include  -I/usr/include $(PD_CPPFLAGS)  $(PDP_CFLAGS)
#--gstabs

PDP_CFLAGS += -fPIC -DPDP_VERSION=\"$(PDP_VERSION)\" -DFF_PLUGIN_DIR=\"$(FF_PLUGIN_DIR)\"

CC = gcc

# build rules

.c.o:
	$(CC) $(PDP_CFLAGS) $(PDP_CPPFLAGS) -o $*.o -c $*.c
.s.o:
	$(AS) -o $*.o $*.s $(PDP_AFLAGS)