From 44855b2c4b0358ecc85b943b3bd862ad7f86cca3 Mon Sep 17 00:00:00 2001
From: Tristan Krause <tristan.krause@stud.htwk-leipzig.de>
Date: Fri, 7 Jun 2019 14:38:05 +0200
Subject: [PATCH] makefile update

---
 control/src/Makefile  | 4 ++--
 control/src/README.md | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/control/src/Makefile b/control/src/Makefile
index 4a22456..3fcf5d2 100644
--- a/control/src/Makefile
+++ b/control/src/Makefile
@@ -40,7 +40,7 @@ OBJECTS_CLI   = cli.o ui/view.o ui/view_selection.o ui/view_promt.o ui/view_info
 
 .PHONY: $(OUT_TMP_DRV) clean help
 
-all: drv cli style
+all: drv cli
 
 drv: $(OBJECTS_DRV) $(OUT_TMP_DRV)
 	
@@ -51,7 +51,7 @@ cli: drv $(OBJECTS_CLI)
 	$(PATH_COMPILER) $(CFLAGS) $(OBJECTS_CLI) -L $(PATH_TMP_LIB) -o $(OUT_TMP_CLI) $(LDFLAGS_CLI)
 	@bash -c 'if [ ! -f "$(OUT_DRV)" ]; then echo -e "\n*** Warning ***: driver not installed\nType \"sudo make install\" to install or update b15fdrv."; fi'
 
-doc:
+doc: style
 	@echo "Creating documentation with doxygen..."
 	$(PATH_DOXYGEN) doxygen-cfg
 	@echo problems found: `($(PATH_DOXYGEN) doxygen-cfg 3>&2 2>&1 1>&3) 2>/dev/null | wc -l`
diff --git a/control/src/README.md b/control/src/README.md
index 358b9e7..c7716ef 100644
--- a/control/src/README.md
+++ b/control/src/README.md
@@ -5,7 +5,7 @@
 
 ### 1. Abhängigkeiten installieren
  (a) **sudo apt-get update**  
- (b) **sudo apt-get install git avr-libc avrdude libncurses5-dev g++**  
+ (b) **sudo apt-get install git avr-libc avrdude libncurses5-dev g++ astyle**  
 
 ### 2. Das Repository klonen
  (a) **cd /home/famulus/**