mirror of
http://www.pogo.org.uk/~mark/trx.git
synced 2024-11-21 18:05:06 +01:00
26 lines
325 B
Makefile
26 lines
325 B
Makefile
-include .config
|
|
|
|
CFLAGS += -MMD -Wall
|
|
|
|
LDLIBS_ASOUND ?= -lasound
|
|
LDLIBS_OPUS ?= -lopus
|
|
LDLIBS_ORTP ?= -lortp
|
|
|
|
LDLIBS += $(LDLIBS_ASOUND) $(LDLIBS_OPUS) $(LDLIBS_ORTP)
|
|
|
|
.PHONY: all clean
|
|
|
|
all: rx tx
|
|
|
|
rx: rx.o device.o sched.o
|
|
|
|
tx: tx.o device.o sched.o
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f *.d
|
|
rm -f tx
|
|
rm -f rx
|
|
|
|
-include *.d
|