diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-03-25 22:47:46 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-03-25 22:47:46 +0200 |
| commit | cc3cf3353f23dd2f87412d42f8c3d52f873711dd (patch) | |
| tree | 94336a9ccee6451baeca51abff53da7e7e9c6230 /Makefile | |
| parent | bb261ad231c3683a36d516c4caf9b2a06ce0145f (diff) | |
| download | ek-cc3cf3353f23dd2f87412d42f8c3d52f873711dd.tar.gz ek-cc3cf3353f23dd2f87412d42f8c3d52f873711dd.zip | |
add formatter
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -19,6 +19,7 @@ CC = gcc SOURCES := include src/source.mk +include gen/source.mk COMPILE = $(CROSS_COMPILE)$(CC) $(DEBUGFLAGS)\ $(CFLAGS) $(DEPFLAGS) $(COMPILEFLAGS) $(INCLUDEFLAGS) @@ -29,8 +30,10 @@ include deps.mk .PHONY: format format: - @find . -iname '*.[ch]' |\ - xargs -n 10 -P 0 uncrustify -c uncrustify.conf --no-backup -F - + @cd src; find . -iname '*.[ch]' |\ + xargs -n 10 -P 0 uncrustify -c ../uncrustify.conf --no-backup -F - + @cd include; find . -iname '*.[ch]' |\ + xargs -n 10 -P 0 uncrustify -c ../uncrustify.conf --no-backup -F - .PHONY: license license: |
