aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile.gnu8
1 files changed, 7 insertions, 1 deletions
diff --git a/makefile.gnu b/makefile.gnu
index 2193e13..15cb919 100644
--- a/makefile.gnu
+++ b/makefile.gnu
@@ -13,6 +13,7 @@ IDIR=
LDIR=
+ZIPFILE=lr87-src-$(shell date +%Y%m%d)
OPTFLAGS= -g
@@ -155,5 +156,10 @@ $(DESTDIR)/share/lr87/LICENSE.txt: LICENSE.txt
$(DESTDIR)/share/lr87/README.md: README.md
mkdir -p $(DESTDIR)/share/lr87
cp README.md $(DESTDIR)/share/lr87
-
+
+$(ZIPFILE):
+ zip -9 $(ZIPFILE) *.f90 makefile.gnu LICENSE.txt README.md gemini.prj gemini-windows.prj -x tes*.f90
+
+zip: $(ZIPFILE)
+
install: $(DESTDIR)/bin/lr87 $(DESTDIR)/share/lr87/LICENSE.txt $(DESTDIR)/share/lr87/README.md