aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2017-04-08 21:23:49 -0400
committerQuentin Carbonneaux <[email protected]>2017-04-08 22:10:02 -0400
commit5fde07c211848adc5b220500b257a6a9b8ef50f8 (patch)
tree7c94a705370478d1a0160c65fece85ff2262f9d2 /Makefile
parentd6316a9a5fb4c9420a1cebe7777895da2161c1a6 (diff)
add handy src target to the Makefile
Intended usage: c_count `make src` (or similar).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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