aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
blob: 08a5f7ed19e573024f2ed1834973eb891c98ba12 (plain)
1
2
3
4
5
6
7
8
9
10
11
CPPFLAGS ?= -g -O0 -Wall `pkg-config --cflags libosmocore` `pkg-config --cflags qmi-glib`
LIBS ?= `pkg-config --libs libosmocore` `pkg-config --libs qmi-glib`
all: osmo-qcdiag-log

MODS_LOG = gprs_rlc.o gprs_mac.o diag_gsm.o diag_log.o diag_log_gsm.o diag_log_gprs.o diag_log_wcdma.o diag_log_umts.o diag_log_qmi.o diag_dpl.o diag_log_simcard.o

osmo-qcdiag-log: diagchar_hdlc.o diag_io.o osmo-qcdiag-log.o diag_msg.o protocol.o diag_cmd.o $(MODS_LOG)
	$(CC) $(CPPFLAGS) -o $@ $^ $(LIBS)

clean:
	@rm -f osmo-qcdiag-log *.o