star-sim

Barnes-Hut gravity simulation.
git clone git://git.amin.space/star-sim.git
Log | Files | Refs | README | LICENSE

commit f0a4ca67aeb9df3f1073781b126909123db0aa7b
parent fe5672b1fd1af1cdda3aa3589fd9f6536724a217
Author: amin <dev@aminmesbah.com>
Date:   Sun, 30 Jul 2017 00:53:36 +0000

Add todo command to makefile.

FossilOrigin-Name: eed0f4e4cb23bf1179b9db443569844a0186e9b27aeeb8ae258e3443f0cc4e18
Diffstat:
MMakefile | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -18,7 +18,7 @@ RELDIR = release RELEXE = $(RELDIR)/$(EXE) RELCFLAGS = -O2 -Os -.PHONY: all clean debug memcheck prep profile release run +.PHONY: all clean debug memcheck prep profile release run todo all: debug release @@ -42,3 +42,9 @@ release: prep run: debug ./$(DBGEXE) + +todo: + @grep -FIR --colour=never --ignore-case --line-number todo *.c *.h \ + | sed -re 's/^([^:]+):[[:space:]]*(.*)/\1\x01\2/' \ + | sed -re 's/^([^:]+):[[:space:]]*(.*)/\1\x01\2/' \ + | column -s $$'\x01' -t