ifeq ($(MAKECMDGOALS),dosdefs)
EXPORT_TYPE = dos
endif
+ifeq ($(MAKECMDGOALS),simple)
+ EXPORT_TYPE = simple
+endif
RANLIB ?= ranlib
PKG_CONFIG ?= pkg-config
endif
all: $(FROTZ_BIN) $(DFROTZ_BIN) $(SFROTZ_BIN) $(XFROTZ_BIN)
+
+# Snavig-processed targets
+#
snavig:
@echo "Snavig: Change an object's shape..."
@echo "Possible snavig-processed targets:"
@echo " dos (done)"
@echo " tops20 (done)"
+ @echo " simple (done)"
@echo " its (not even started)"
@echo " tops10 (not even started)"
@echo " tenex (not even started)"
@echo "Supported compilers are:"
@echo " KCC-6.620(c2l3)"
+simple: $(COMMON_DEFINES) $(HASH)
+ @rm -rf $(SNAVIG_DIR)
+ @mkdir $(SNAVIG_DIR)
+ @echo "** Invoking snavig"
+ @$(SNAVIG) -t simple $(COMMON_DIR) $(DUMB_DIR) $(SNAVIG_DIR)
+ @echo "$(SNAVIG_DIR)/ now contains Frotz source code for $(EXPORT_TYPE)."
+ @echo "Compile with \"cc -o dfrotz *.c\""
+
common_lib: $(COMMON_LIB)
curses_lib: $(CURSES_LIB)
$dos_end = 1;
} elsif ($type eq "dos") {
$dos_end = 1;
+} elsif ($type eq "simple") {
+
} else {
print " Unknown target type $type.\n";
usage();
print "Types supported:\n";
print " tops20\n";
print " dos\n";
+ print " simple\n";
exit;
}