2009-09-05 00:04:44 +02:00
|
|
|
-include .config
|
|
|
|
|
2012-07-21 18:30:28 +02:00
|
|
|
CFLAGS += -MMD -Wall
|
2009-09-05 00:04:44 +02:00
|
|
|
|
2012-07-21 18:30:28 +02:00
|
|
|
LDLIBS_ASOUND ?= -lasound
|
|
|
|
LDLIBS_OPUS ?= -lopus
|
|
|
|
LDLIBS_ORTP ?= -lortp
|
2009-09-11 17:40:27 +02:00
|
|
|
|
2012-07-21 18:30:28 +02:00
|
|
|
LDLIBS += $(LDLIBS_ASOUND) $(LDLIBS_OPUS) $(LDLIBS_ORTP)
|
2009-09-11 17:40:27 +02:00
|
|
|
|
2009-09-05 00:04:44 +02:00
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
all: rx tx
|
|
|
|
|
2009-09-11 17:40:27 +02:00
|
|
|
rx: rx.o device.o sched.o
|
2009-09-05 00:04:44 +02:00
|
|
|
|
|
|
|
tx: tx.o device.o sched.o
|
|
|
|
|
|
|
|
clean:
|
2012-07-27 13:21:25 +02:00
|
|
|
rm -f *.o *.d tx rx
|
2009-09-05 00:04:44 +02:00
|
|
|
|
|
|
|
-include *.d
|