[ar7] refresh patches and remove trailing whitespaces
[openwrt.git] / package / libtapi / src / Makefile
1 ifndef CFLAGS
2 CFLAGS = -O2 -g -I ../src
3 endif
4
5 FPIC=-fPIC
6
7 all: libtapi.so
8
9 %.o: %.c
10 $(CC) $(CFLAGS) -c -o $@ $^ $(FPIC)
11
12 TAPI_OBJS = \
13 timer_fd.o \
14 events.o \
15 tapi-port.o \
16 tapi-device.o \
17 tapi-session.o \
18 tapi-stream.o
19
20 tapidemo: tapidemo.o libtapi.so
21 $(CC) $(LDFLAGS) -o $@ $^
22
23 libtapi.so: $(TAPI_OBJS)
24 $(CC) $(LDFLAGS) -shared -o $@ $^ $(FPIC)
25
26 clean:
27 rm -rf *.o *.so
This page took 0.053963 seconds and 5 git commands to generate.