Explorar o código

tests/Makefile: add a target astyle

Francois Perrad %!s(int64=10) %!d(string=hai) anos
pai
achega
da4c6209dd
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      tests/Makefile

+ 4 - 1
tests/Makefile

@@ -104,7 +104,10 @@ run_tests: $(PROGS)
 run_tests_mingw: $(PROGS)
 	/bin/sh do_tests.mingw
 
-.PHONY: clean
+astyle:
+	astyle -n --style=kr --indent-switches --add-brackets *.c
+
+.PHONY: clean astyle
 
 clean:	
 	rm -f $(UTILS) $(PLAT_UTILS) $(PROGS) test*.out keystat.??? example *.exe