summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8efab47..9a332e2 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,11 @@ statistics: statistics.pas
mkdir -p lib
fpc -Mobjfpc -FUlib -Fu/usr/lib/fpc/src/packages/* -Fu../units "$<"
-run: statistics
+werte.dat: statistics gpx-to-tsv
find ~/tmp/ -name '*.gpx' \
| sort \
| tr '\n' '\0' \
| xargs -0r cat \
| ./gpx-to-tsv \
- | ./statistics
+ | ./statistics \
+ >"$@"