aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-04 21:47:49 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-04 21:49:19 +0300
commite50f4987c0fbf51eead9112c565f9858547d07ec (patch)
tree0aeee8158a540b3b4b88f5f37575fa50c5769260
parente8a49da7f51255cce29109ac65ff0e0d7821cad3 (diff)
downloadvideoteco-fork-e50f4987c0fbf51eead9112c565f9858547d07ec.tar.gz
DOS: added `wmake release` target to create zip archives
The text files are added with DOS line-breaks. Well, actually README.OLD is currently detected as a binary file, so it won't.
-rw-r--r--Makefile.wcc8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.wcc b/Makefile.wcc
index 8dda08f..0d43131 100644
--- a/Makefile.wcc
+++ b/Makefile.wcc
@@ -50,6 +50,10 @@ teco.exe : tecbuf.obj teccmd.obj tecdebug.obj tecdisp.obj tecexec.obj &
.c.obj:
$(CC) $(CFLAGS) -fo=$@ $<
+release: vteco.zip .SYMBOLIC
+vteco.zip : teco.exe
+ zip --DOS-names $@ $<
+ zip --DOS-names --to-crlf $@ README.md README.OLD COPYING
+
clean: .SYMBOLIC
- rm -f teco.exe
- rm *.obj
+ rm -f teco.exe *.obj vteco.zip