From 5fde07c211848adc5b220500b257a6a9b8ef50f8 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sat, 8 Apr 2017 21:23:49 -0400 Subject: [PATCH] add handy src target to the Makefile Intended usage: c_count `make src` (or similar). --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6fc7d07..52574c8 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,9 @@ check: $(OBJDIR)/$(BIN) check-arm64: $(OBJDIR)/$(BIN) TARGET=arm64 tools/test.sh all +src: + @echo $(SRCALL) + 80: @for F in $(SRCALL); \ do \ @@ -82,4 +85,4 @@ check-arm64: $(OBJDIR)/$(BIN) }" < $$F; \ done -.PHONY: clean clean-gen check check-arm64 80 install uninstall +.PHONY: clean clean-gen check check-arm64 src 80 install uninstall