Build common_defines and hash for DOS. No cross-compiling yet.
authorDavid Griffith <dave@661.org>
Wed, 18 Sep 2019 05:58:31 +0000 (22:58 -0700)
committerDavid Griffith <dave@661.org>
Wed, 18 Sep 2019 05:58:31 +0000 (22:58 -0700)
What I'd like to do with this is to cross-compile for 16-bit DOS using
Watcom C executed under Unix.  That'll have to wait for another release.

Makefile

index dfefa61dff5190a7c368a579581d48be742c8ab6..38129ffd3f78dd02d1c5d64b1a676fec540710a7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -266,10 +266,12 @@ $(SFROTZ_BIN): $(COMMON_LIB) $(SDL_LIB) $(BLORB_LIB) $(COMMON_LIB)
        @echo "** Done building Frotz with SDL interface."
 
 dos: $(DOS_BIN)
-$(DOS_BIN): $(COMMON_LIB) $(DOS_LIB) $(COMMON_LIB)
-       @echo "***********************************"
-       @echo "** Cannot compile for DOS yet... **"
-       @echo "***********************************"
+$(DOS_BIN): $(COMMON_DEFINES) $(HASH)
+       @echo
+       @echo "  ** Cannot cross-compile for DOS yet"
+       @echo "  ** For now, I'm just making $(COMMON_DEFINES) and $(HASH)"
+       @echo "  ** To build for DOS, take what's here and use Turbo C in DOSBOX"
+       @echo
 
 
 all: $(FROTZ_BIN) $(DFROTZ_BIN) $(SFROTZ_BIN)