aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-06-02 16:59:48 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-06-02 16:59:48 -0400
commit711194ab9a71600aef45e157e49306dfc29563f8 (patch)
treea6bfe5376c86de03522b7ed8e2e74016ea9e2489
parent16e91c6e4542d99ea17e233f1b9a64c2dda79123 (diff)
downloadLR-87-711194ab9a71600aef45e157e49306dfc29563f8.tar.gz
LR-87-711194ab9a71600aef45e157e49306dfc29563f8.zip
Added a source zip file to the unix makefile
-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