-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (18 loc) · 724 Bytes
/
Makefile
File metadata and controls
23 lines (18 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Makefile used only to check syntax with flymake
BOARD_TAG = uno
ARDUINO_LIBS = Arduino-PowerFunctions
# ARDUINO_DIR = C:/Arduino
### CXXFLAGS_STD
### Set the C++ standard to be used during compilation. Documentation (https://github.com/WeAreLeka/Arduino-Makefile/blob/std-flags/arduino-mk-vars.md#cxxflags_std)
CXXFLAGS_STD = -std=gnu++11
### CXXFLAGS
### Flags you might want to set for debugging purpose. Comment to stop.
CXXFLAGS += -pedantic -Wall -Wextra
include ./arduino-makefile/Arduino.mk
# For emacs fly-make
check-syntax:
$(CXX) -c -include Arduino.h -x c++ $(CXXFLAGS) $(CPPFLAGS) -fsyntax-only $(CHK_SOURCES)
doxygen:
doxygen Doxyfile
tags:
etags *.ino ../libraries/*/*.{c,h,cpp}