Commit 353e9c2e authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

Makefile: add lint target

parent b99a55fe
filter=-whitespace/braces,-readability/casting,-runtime/references,-runtime/explicit,-build/include_order,-whitespace/indent,-build/namespaces,-runtime/printf,-runtime/arrays
......@@ -25,6 +25,7 @@ include mk/recipes.mk
base_dir := $(d)./
CPPLINT = cpplint
CFLAGS += -Wall -Wextra -Wno-unused-parameter -O3 -fPIC
CXXFLAGS += -Wall -Wextra -Wno-unused-parameter -O3 -fPIC
CPPFLAGS += -I$(base_dir)/lib -iquote$(base_dir)
......@@ -51,6 +52,9 @@ clean:
distclean:
rm -rf $(CLEAN_ALL) $(DISTCLEAN_ALL)
lint:
$(CPPLINT) --quiet --recursive .
help:
@echo "Targets:"
@echo " all: builds all the tools directly in this repo"
......@@ -60,7 +64,7 @@ help:
@echo " external: clone and build our tools in external repos "
@echo " (qemu, gem5, ns-3)"
.PHONY: all clean distclean help
.PHONY: all clean distclean lint help
include mk/subdir_post.mk
-include $(DEPS_ALL)
......@@ -22,6 +22,9 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef DOC_INDEX_H_
#define DOC_INDEX_H_
/**
* @mainpage SimBricks Overview
*
......@@ -29,3 +32,5 @@
* - TAS. (@ref tas)
* + Slow Path: the control plane. (@ref tas-sp)
*/
#endif // DOC_INDEX_H_
exclude_files=obj_dir
root=.
exclude_files=base
root=.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment