introduce new API for configuring the diag logging
diff --git a/src/GNUmakefile b/src/GNUmakefile
index bc3f189..9a52118 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -1,7 +1,8 @@
 CPPFLAGS ?= -O0 -Wall
+LIBS = -losmocore
 all: qxdm-log
 
-qxdm-log: framing.o serial.o qxdm-log.o
+qxdm-log: framing.o serial.o qxdm-log.o config.o
 	$(CC) $(CPPFLAGS) -o $@ $^ $(LIBS)
 
 clean: