Home of libcapi20 based Linux programs implementing some type of ISDN based application.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
capi-hacks/Makefile

21 lines
464 B

LIBS = -lasan
CFLAGS = -g -Wall
LIBS += $(shell pkg-config --libs talloc libosmocore capi20 spandsp)
CFLAGS += $(shell pkg-config --cflags talloc libosmocore capi20 spandsp)
all: capi-test
clean:
@rm -f *.o prbs/*.o *.a capi-test
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $^
libprbs.a: prbs/prbs.o prbs/rx.o prbs/tx.o
$(AR) r $@ $^
capi-test: capi.o capiconn.o bchan.o hdlr_raw_loop.o hdlr_raw_prbs.o libprbs.a hdlr_spandsp.o
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)