summaryrefslogtreecommitdiff
path: root/bridge/Makefile
blob: 5d1fb0c53f712b06dbc50c782d57634251b69402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
AR	:= $(CROSS_COMPILE)ar
CC	:= $(CROSS_COMPILE)gcc
CFLAGS	:= -O2 -W -Wall -DDSP_API=2 -fPIC
LDFLAGS	:= -shared

OBJECTS := dsp_bridge.o

%.o : %.c
	$(CC) $(CFLAGS) -c -o $@ $<

all: libdspbridge.a

libdspbridge.a: $(OBJECTS)
	$(AR) r $@ $^

clean:
	-$(RM) *.o
	-$(RM) libdspbridge.a