-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (26 loc) · 670 Bytes
/
Makefile
File metadata and controls
30 lines (26 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ARDUINO_LIB_PATH=/usr/share/arduino/libraries
LIB_LIST=ColorRecognition ColorRecognitionTCS230 ColorRecognitionTCS230PI
SOURCE_PATH=`pwd`
all:
@echo "Use [install], [unistall] or [doc]"
install:
@echo "Instaling all libraries..."
@for lib in $(LIB_LIST) ; do \
ln -s $(SOURCE_PATH)/$$lib $(ARDUINO_LIB_PATH); \
done
@echo "done."
uninstall:
@echo "Uninstaling all libraries..."
@for lib in $(LIB_LIST) ; do \
rm -r $(ARDUINO_LIB_PATH)/$$lib ; \
done
@echo "done."
doc:
@echo "Running doxygen..."
@rm -rf doc
@mkdir doc
doxygen doxygen.conf
@cd doc/latex; make pdf; cp refman.pdf ../../Documentation.pdf
@cd ../..
@rm -rf doc
@echo "done."