Moved params to core and some code cleanup

This commit is contained in:
Leonardo Vencovsky committed 2020-05-26 15:32:34 -03:00
1 parent 8e0183a7d7
commit 720e55bfcc
5 files changed
+53 -77

No files matched your search

+5 -20
View File
@@ -1,28 +1,13 @@
# This file is useful to format all the source files and header in this library using clang-format
.PHONY: all cmc dev sac utl tests FORCE
ARGS = --verbose
all: cmc cor dev ext sac utl tests
all: src tests
cmc: FORCE
clang-format --style=file -i ./src/cmc/*.h
cor: FORCE
clang-format --style=file -i ./src/cor/*.h
dev: FORCE
clang-format --style=file -i ./src/dev/*.h
ext: FORCE
clang-format --style=file -i ./src/ext/**/*.h
sac: FORCE
clang-format --style=file -i ./src/sac/*.h
utl: FORCE
clang-format --style=file -i ./src/utl/*.h
src: FORCE
find ./src/ -iname *.h | xargs clang-format --style=file --verbose -i
tests: FORCE
clang-format --style=file -i ./tests/main/unt/*.c ./tests/main/main.c ./tests/*.c
find ./tests/ -iname *.c -o -iname *.h | xargs clang-format --style=file --verbose -i
FORCE: