Fix clean targer

This commit is contained in:
Franck STAUFFER 2020-09-09 13:07:47 +02:00
parent 53a1c59b91
commit 5e004910ee
Signed by: franck.stauffer
GPG Key ID: AAF5A94045CEC261

View File

@ -26,9 +26,9 @@ man1/%.1.gz: man1/%.1
gzip -ck9 $^ > $@
clean:
@[ -d obj ] && rm -rf obj
@[ -d bin ] && rm -rf bin
@[ -f $(MAN) ] && rm -f $(MAN)
@if test -d obj; then rm -rf obj; fi
@if test -d bin; then rm -rf bin; fi
@if test -f $(MAN); then rm -f $(MAN); fi
format:
@clang-format -i -style="{BasedOnStyle: mozilla, IndentWidth: 4}" src/*.c