summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2017-05-17 14:41:16 +0000
committerIan C <ianc@noddybox.co.uk>2017-05-17 14:41:16 +0000
commit580a032202eed9ae2f31b3e57c707484a0a097d4 (patch)
treea11906a45e7403d931cc90cfb5e9d8449c8974ec /Makefile
parent5fbdb86740d12afbf97593e351ce8b09fbb8dbea (diff)
Added makefile rule to build distributable tar file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4a959fe..c07fefb 100644
--- a/Makefile
+++ b/Makefile
@@ -44,4 +44,7 @@ xd.o: xd.c
clean:
-rm -f $(TARGET) $(TARGET).exe core *.stackdump *.o
+xd.tar.gz: Makefile README xd.c
+ cd .. ; tar cvfz xd/xd.tar.gz ./xd/Makefile ./xd/README ./xd/xd.c
+
# END OF FILE