From e50f4987c0fbf51eead9112c565f9858547d07ec Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 4 May 2025 21:47:49 +0300 Subject: 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. --- Makefile.wcc | 8 ++++++-- 1 file 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 -- cgit v1.2.3