makefile update
This commit is contained in:
parent
685dcdbc79
commit
44855b2c4b
|
@ -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
|
.PHONY: $(OUT_TMP_DRV) clean help
|
||||||
|
|
||||||
all: drv cli style
|
all: drv cli
|
||||||
|
|
||||||
drv: $(OBJECTS_DRV) $(OUT_TMP_DRV)
|
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)
|
$(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'
|
@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..."
|
@echo "Creating documentation with doxygen..."
|
||||||
$(PATH_DOXYGEN) doxygen-cfg
|
$(PATH_DOXYGEN) doxygen-cfg
|
||||||
@echo problems found: `($(PATH_DOXYGEN) doxygen-cfg 3>&2 2>&1 1>&3) 2>/dev/null | wc -l`
|
@echo problems found: `($(PATH_DOXYGEN) doxygen-cfg 3>&2 2>&1 1>&3) 2>/dev/null | wc -l`
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
### 1. Abhängigkeiten installieren
|
### 1. Abhängigkeiten installieren
|
||||||
(a) **sudo apt-get update**
|
(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
|
### 2. Das Repository klonen
|
||||||
(a) **cd /home/famulus/**
|
(a) **cd /home/famulus/**
|
||||||
|
|
Loading…
Reference in a new issue