From f022a57cc26126c3582602547aa0db5ae1b4092a Mon Sep 17 00:00:00 2001
From: Oskar Viljasaar <oskar.viljasaar@iopsys.eu>
Date: Mon, 5 Oct 2020 10:39:40 +0200
Subject: [PATCH] some more progress and minimal documentation

---
 Makefile  | 5 ++++-
 README.md | 7 ++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f2ec7db..ac07a38 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,9 @@ include common.mk
 
 QOSMNGR_LIB=libqosmngr.so
 
+QOSMNGR_LIB_DIR	?= $(shell dirname $(PWD))
+QOSMNGR_LDFLAGS	= -lqosmngr -L$(QOSMNGR_LIB_DIR)
+
 GCOV=gcov
 CODECOVERAGE_SRC = src/qosmngr.c
 
@@ -39,4 +42,4 @@ clean:
 	find -name '*.gcno' -exec rm {} -fv \;
 	find -name '*.gcov' -exec rm {} -fv \;
 	make -C test/cmocka clean
-	make -C src clean
\ No newline at end of file
+	make -C src clean
diff --git a/README.md b/README.md
index c0f7e82..22433e0 100644
--- a/README.md
+++ b/README.md
@@ -24,9 +24,14 @@ So far, the only method implemented is:
     }
     ```
 
+Implementation choices
+===
+This has been modeled after what the `tmctl` command prints on the DG400. As such, the returned structure could be made somewhat more generic
+if some other hardware would be supported after that.
+
 TODO
 ===
 
 - Reimplement the `reload` method provided by existing scripts
 - Tests
-- Integration in the OS build
+- Integration in the OS build
\ No newline at end of file
-- 
GitLab