From 8c923b1e5dea56466c44b45ac91f6f4441277453 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Wed, 13 Apr 2022 21:01:31 -0700 Subject: [PATCH] Rearranged dos snavig target to ensure all text files have CRLF endings. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a51eaa7..7e0df45 100644 --- a/Makefile +++ b/Makefile @@ -402,8 +402,7 @@ snavig: dos: $(COMMON_DEFINES) $(HASH) @rm -rf $(SNAVIG_DIR) @mkdir $(SNAVIG_DIR) - @echo "** Invoking snavig" - @$(SNAVIG) -t dos $(COMMON_DIR) $(BLORB_DIR) $(DOS_DIR) $(SNAVIG_DIR) + @echo "** Copying support text files to $(SNAVIG_DIR)" @cp Makefile.tc Makefile.ow $(SNAVIG_DIR) @cp owbuild.bat tcbuild.bat $(SNAVIG_DIR) @cp INSTALL_DOS $(SNAVIG_DIR)/INSTALL.txt @@ -411,6 +410,9 @@ dos: $(COMMON_DEFINES) $(HASH) @sed -i "/^OW_DOS_DIR.*/d" $(SNAVIG_DIR)/Makefile.ow @sed -i "/^CORE_DIR.*/d" $(SNAVIG_DIR)/Makefile.ow @sed -i "/^BLORB_DIR.*/d" $(SNAVIG_DIR)/Makefile.ow + @echo "** Invoking snavig" + @$(SNAVIG) -t dos $(COMMON_DIR) $(BLORB_DIR) $(DOS_DIR) $(SNAVIG_DIR) + @echo "** Adding frotz.prj for building with Turbo C IDE" @cp frotz.prj $(SNAVIG_DIR) @echo "$(SNAVIG_DIR)/ now contains Frotz source code for 16-bit DOS." @echo "Supported compilers are:" -- 2.34.1