[script] debugging make format
This commit is contained in:
parent
110b27b3fc
commit
d3e374fe57
5
Makefile
5
Makefile
|
@ -70,7 +70,10 @@ all: checkout compile
|
|||
|
||||
format-cpp:
|
||||
# Format all the C/C++ files under this project, excluding submodules
|
||||
find libs openfpga -iname *.cpp -iname *.hpp -iname *.c -iname *.h | xargs ${CLANG_FORMAT_EXEC} --style=file -i
|
||||
for f in `find libs openfpga -iname *.cpp -iname *.hpp -iname *.c -iname *.h`; \
|
||||
do \
|
||||
${CLANG_FORMAT_EXEC} --style=file -i $${f} || exit 1; \
|
||||
done
|
||||
|
||||
clean:
|
||||
# Remove current build results
|
||||
|
|
Loading…
Reference in New Issue