summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 767c268..ba6711a 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,9 @@ build/qlprint: $(OBJS)
$(OBJS): $(wildcard include/*) Makefile
-.PHONY: clean
+.PHONY: clean fixstyle
clean:
-rm -f build/*
+fixstyle:
+ find include/ src/ -regex '.*\.[ch]' -print0 | xargs -0 -n 1 env VERSION_CONTROL=never indent --linux-style -l100