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