Browse Source

tests/Makefile: add a target astyle

Francois Perrad 10 năm trước cách đây
mục cha
commit
da4c6209dd
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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