]> granicus.if.org Git - nethack/commitdiff
vis_tab removal for VMS
authorPatR <rankin@nethack.org>
Wed, 30 Dec 2020 16:58:15 +0000 (08:58 -0800)
committerPatR <rankin@nethack.org>
Wed, 30 Dec 2020 16:58:15 +0000 (08:58 -0800)
Get rid of vis_tab.{c,h}, also the commented out remnants of
{dgn_comp,lev_comp}.*, and put back sfstruct.* that erroneously
got removed along with some other stuff way back when.

Untested, and the lua stuff needs to be modularized.

sys/vms/Makefile.src
sys/vms/Makefile.utl
sys/vms/vmsbuild.com

index fa561d17e776d2049d502523ded299431ab6aa84..3e8e803d498e1073d9c73bd4f4b636a9480e693b 100644 (file)
@@ -1,5 +1,5 @@
 #      NetHack Makefile (VMS) - for building nethack itself.
-#      NetHack 3.7     Makefile.src    $NHDT-Date: 1596498302 2020/08/03 23:45:02 $    $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.52 $
+#      NetHack 3.7     Makefile.src    $NHDT-Date: 1609347463 2020/12/30 16:57:43 $    $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.55 $
 # Copyright (c) 2011 by Robert Patrick Rankin
 # NetHack may be freely redistributed.  See license for details.
 
@@ -77,6 +77,7 @@ WINTTYSRC = $(TTY)getline.c $(TTY)termcap.c $(TTY)topl.c $(TTY)wintty.c \
 WINTTYOBJ = getline.obj,termcap.obj,topl.obj,wintty.obj $(TERMCAPOBJ)
 #
 # curses; doesn't use termcap; may or may not support TERMTABLE for non-DEC tty
+# [native curses is incompatible with ncurses and PDcurses; it won't work]
 WINCURSESSRC = $(CURSES)cursdial.c $(CURSES)cursmesg.c $(CURSES)cursinit.c \
        $(CURSES)cursmisc.c $(CURSES)cursinvt.c $(CURSES)cursstat.c \
        $(CURSES)cursmain.c $(CURSES)curswins.c
@@ -104,11 +105,12 @@ WANT_WIN_TTY=1
 .endif
 
 .if WANT_WIN_TTY
+.if WANT_WIN_CURSES
+WINSRC = $(WINTTYSRC) $(WINCURSESSRC)
+WINOBJ = $(WINTTYOBJ),$(WINCURSESOBJ)
+.else
 WINSRC = $(WINTTYSRC)
 WINOBJ = $(WINTTYOBJ)
-.if WANT_WIN_CURSES
-WINSRC +=,$(WINCURSESSRC)
-WINOBJ += $(WINCURSESOBJ)
 .endif
 .else
 .if WANT_WIN_CURSES
@@ -163,15 +165,15 @@ HACKCSRC = allmain.c alloc.c apply.c artifact.c attrib.c ball.c bones.c \
           uhitm.c vault.c version.c vision.c weapon.c were.c wield.c \
           windows.c wizard.c worm.c worn.c write.c zap.c
 
-# generated source files (tile.c is handled separately via WINxxxSRC)
-GENCSRC = vis_tab.c    #tile.c
+#-# generated source files (vis_tab.c is gone; tile.c is handled separately
+#-# via WINxxxSRC)
+#-GENCSRC = #tile.c
 
 # .c files for this version (for date.h)
 VERSOURCES = $(HACKCSRC) $(SYSSRC) $(WINSRC) $(RANDSRC) $(GENCSRC)
 
-# all .h files except date.h, onames.h, pm.h, and vis_tab.h which would
+# all .h files except date.h, onames.h, pm.h, which would
 # cause dependency loops if run through "make depend"
-# and dgn_comp.h, dgn_file.h, lev_comp.h, special level & dungeon files.
 #
 HACKINCL = align.h artifact.h artilist.h attrib.h color.h \
           config.h config1.h context.h coord.h decl.h display.h \
@@ -183,8 +185,7 @@ HACKINCL = align.h artifact.h artilist.h attrib.h color.h \
           tradstdc.h trap.h unixconf.h vision.h \
           vmsconf.h wintty.h winX.h winprocs.h wintype.h you.h youprop.h
 
-#HSOURCES = $(HACKINCL) date.h onames.h pm.h vis_tab.h\
-#              lev_comp.h dgn_comp.h dgn_file.h
+#HSOURCES = $(HACKINCL) date.h onames.h pm.h
 
 # the following .obj's should be made before any others (for makedefs)
 FIRSTOBJ = vmsmisc.obj,vmsfiles.obj,monst.obj,objects.obj
@@ -204,10 +205,10 @@ HOBJ4 = mplayer.obj,mthrowu.obj,muse.obj,music.obj,o_init.obj,objnam.obj, \
        options.obj,pager.obj,pickup.obj,pline.obj,polyself.obj, \
        potion.obj,pray.obj,priest.obj,quest.obj,questpgr.obj,read.obj
 HOBJ5 = rect.obj,region.obj,restore.obj,rip.obj,rnd.obj,role.obj, \
-       rumors.obj,save.obj,shk.obj,shknam.obj,sit.obj,sounds.obj,sp_lev.obj, \
-       spell.obj,steal.obj,steed.obj,sys.obj,teleport.obj,timeout.obj, \
-       topten.obj, track.obj,trap.obj
-HOBJ6 = u_init.obj,uhitm.obj,vault.obj,vision.obj,vis_tab.obj,weapon.obj, \
+       rumors.obj,save.obj,sfstruct.obj,shk.obj,shknam.obj,sit.obj, \
+       sounds.obj,sp_lev.obj,spell.obj,steal.obj,steed.obj,sys.obj, \
+       teleport.obj,timeout.obj,topten.obj, track.obj,trap.obj
+HOBJ6 = u_init.obj,uhitm.obj,vault.obj,vision.obj,weapon.obj, \
        were.obj,wield.obj,windows.obj,wizard.obj,worm.obj,worn.obj, \
        write.obj,zap.obj,version.obj
 HOBJ  = $(FIRSTOBJ) $(SYSOBJ) $(WINOBJ) $(RANDOBJ) \
@@ -337,13 +338,7 @@ $(INC)pm.h :       $(MAKEDEFS)
        $(CD) $(UTL)
        $(MAKE)$(MAKEFLAGS) $(INC)pm.h
       @ $(CD) $(SRC)
-# both vis_tab.h and vis_tab.c are made at the same time by makedefs
-$(INC)vis_tab.h : vis_tab.c
-       $(TOUCH) $(INC)vis_tab.h
-vis_tab.c : $(MAKEDEFS)
-       $(CD) $(UTL)
-       $(MAKE)$(MAKEFLAGS) $(SRC)vis_tab.c
-      @ $(CD) $(SRC)
+
 $(SRC)tile.c : $(WINSHR)tilemap.c $(HACK_H)
        $(CD) $(UTL)
        $(MAKE)$(MAKEFLAGS) $(SRC)tile.c
@@ -363,12 +358,16 @@ $(INC)date.h :    $(VERSOURCES) $(HACK_H)
        $(MAKE)$(MAKEFLAGS) $(INC)date.h
       @ $(CD) $(SRC)
 
-#      special targets (monstr.c is an obsolete generated source file)
+#      special targets (monstr.c, vis_tab.{c,h} are obsolete generated files;
+#        pm.h, onames.h, date.h, and tile.c are current generated files)
 clean :
       - if f$search("*.*;-2").nes."" then  purge/Keep=2
-      - if f$search("$(INC)*.*;-2").nes."" then  purge/Keep=2 $(INC) /Exclude=*conf*.h
+      - if f$search("$(INC)*.*;-2").nes."" then \
+               purge/Keep=2 $(INC) /Exclude=*conf*.h
       - if f$search("*.obj").nes."" then  delete *.obj;*
       - if f$search("*.h-t").nes."" then  delete *.h-t;* !$(HACK_H),$(CONFIG_H)
+      - if f$search("$(INC)vis_tab.h").nes."" then  delete $(INC)vis_tab.h;*
+      - if f$search("vis_tab.c").nes."" then  delete vis_tab.c;*
       - if f$search("monstr.c").nes."" then  delete monstr.c;*
 
 spotless :     clean
@@ -376,8 +375,7 @@ spotless :  clean
       - if f$search("$(INC)*.*;-1").nes."" then  purge $(INC)
       - if f$search("$(SYSTEM)").nes."" then  delete $(SYSTEM)
       - if f$search("$(GAME)").nes."" then  delete $(GAME)
-      - delete vis_tab.c;,$(INC)vis_tab.h;,\
- $(INC)pm.h;,$(INC)onames.h;,$(INC)date.h;
+      - delete $(INC)pm.h;,$(INC)onames.h;,$(INC)date.h;
       - if f$search("tile.c").nes."" then  delete tile.c;
       - if f$search("tclib.c").nes."" then  delete tclib.c;
       - if f$search("random.c").nes."" then  delete random.c;
@@ -455,7 +453,7 @@ winstat.obj :       $(X11)winstat.c $(HACK_H) $(INC)winX.h
 wintext.obj :  $(X11)wintext.c $(HACK_H) $(INC)winX.h $(INC)xwindow.h
 winval.obj :   $(X11)winval.c $(HACK_H) $(INC)winX.h
 tile.obj :     $(SRC)tile.c $(HACK_H)
-vis_tab.obj :  vis_tab.c $(CONFIG_H) $(INC)vis_tab.h
+
 #      lua 5.4.0 code
 lapi.obj :     $(LUA)lapi.c    
 lauxlib.obj :  $(LUA)lauxlib.c
@@ -577,6 +575,7 @@ rnd.obj :   rnd.c $(HACK_H)
 role.obj :     role.c $(HACK_H)
 rumors.obj :   rumors.c $(HACK_H) $(INC)dlb.h
 save.obj :     save.c $(HACK_H)
+sfstruct.obj : sfstruct.c $(HACK_H)
 shk.obj :      shk.c $(HACK_H)
 shknam.obj :   shknam.c $(HACK_H)
 sit.obj :      sit.c $(HACK_H) $(INC)artifact.h
@@ -595,7 +594,7 @@ u_init.obj :        u_init.c $(HACK_H)
 uhitm.obj :    uhitm.c $(HACK_H)
 vault.obj :    vault.c $(HACK_H)
 version.obj :  version.c $(HACK_H) $(INC)dlb.h $(INC)date.h
-vision.obj :   vision.c $(HACK_H) $(INC)vis_tab.h
+vision.obj :   vision.c $(HACK_H)
 weapon.obj :   weapon.c $(HACK_H)
 were.obj :     were.c $(HACK_H)
 wield.obj :    wield.c $(HACK_H)
index 651223aa1044024f5358646415f9a9060a44e15f..4a93b27da68d555eb6a8e8dfe563c2915e0ca7bb 100644 (file)
@@ -1,5 +1,5 @@
 #      NetHack Makefile (VMS) - for utility programs.
-#      NetHack 3.7     Makefile.utl    $NHDT-Date: 1596498303 2020/08/03 23:45:03 $    $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.19 $
+#      NetHack 3.7     Makefile.utl    $NHDT-Date: 1609347482 2020/12/30 16:58:02 $    $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.20 $
 # Copyright (c) 2011 by Robert Patrick Rankin
 # NetHack may be freely redistributed.  See license for details.
 
@@ -27,8 +27,6 @@ WINSHR = [-.win.share]
 WINX11 = [-.win.X11]
 # targets, with enough punctuation to keep MCR and DELETE happy
 MAKEDEFS= $(UTL)makedefs.exe;
-#LEVCOMP = $(UTL)lev_comp.exe;
-#DGNCOMP = $(UTL)dgn_comp.exe;
 DLB    = $(UTL)dlb.exe;
 RECOVER = $(UTL)recover.exe;
 # used by $(DAT)Makefile for synchronization
@@ -44,39 +42,9 @@ LFLAGS       = /noMap
 LIBS   = $(SRC)crtl.opt/Options,$(SRC)ident.opt/Options  # run-time library
 LINK   = link
 
-# If you don't have yacc, byacc, or bison or just don't want to run any of
-#      them, then make target "no_yacc" before trying to build lev_comp
-#      or dgn_comp.  You won't be able to modify *_comp.y though.
-# If you don't have lex or flex, then make target "no_lex" and leave
-#      *_comp.l alone.  $(VMS)lev_lex.h will be used to work-around some
-#      suspect code included in the distributed copies of *_lex.c.
-# If you do either of the above, the corresponding value of YACC and/or LEX
-#      below won't matter.
 #
-# Note:  VMS POSIX V1.1 lex and yacc generate code which contains an
-#      invalid #module directive; it order to prevent warnings for CC or
-#      choking by GCC, the SEARCH command is used in an attempt to strip
-#      then out.  Otherwise MMS would quit when making the affected targets.
-#      Each "munged" copy should be identical to its original if no #module
-#      directives are present.
-#
-# yacc/lex programs to use to generate *_comp.c, *_comp.h, and *_lex.c.
-# choose xxxOUT that matches xxx tool's output
-#YACC  = bison /Define
-#LEX   = flex
-#YACC  = yacc -d
-#LEX   = lex
-#YACC  = posix/Run posix$bin:yacc. "-d
-#LEX   = posix/Run posix$bin:lex. "
-# blank means foo.y -> foo_tab.c & foo_tab.h
-#YACCOUT =             # bison
-#YACCOUT = ytab                # VMS POSIX
-#YACCOUT = y_tab       # DEC/Shell
-#LEXOUT        = lexyy         # flex
-#LEXOUT  = lex_yy      # VMS POSIX
-
-
 # Nothing below this line should have to be changed.
+#
 
 # linker options files
 LIBOPT = $(SRC)crtl.opt;
@@ -88,8 +56,6 @@ HACK_H   = $(SRC)hack.h-t
 
 # utility .c files
 MAKESRC    = makedefs.c
-#SPLEVSRC   = lev_yacc.c lev_lex.c lev_main.c
-#DGNCOMPSRC = dgn_yacc.c dgn_lex.c dgn_main.c
 RECOVSRC   = recover.c
 DLBSRC    = dlb_main.c
 UTILSRCS   = $(MAKESRC) $(SPLEVSRC) $(DGNCOMPSRC) $(RECOVSRC) $(DLBSRC) panic.c
@@ -104,13 +70,6 @@ NAMEOBJS = $(NAMEOBJ1),$(NAMEOBJ2)
 # object files for makedefs
 MAKEOBJS = makedefs.obj,$(NAMEOBJ1)
 
-# object files for special levels compiler
-#SPLEVOBJS = lev_main.obj,lev_yacc.obj,lev_lex.obj,panic.obj,\
-#          $(SRC)alloc.obj,$(NAMEOBJS)
-
-# object files for dungeon compiler
-#DGNCOMPOBJS = dgn_main.obj,dgn_yacc.obj,dgn_lex.obj,panic.obj,$(SRC)alloc.obj
-
 # object files for recovery utility
 RECOVOBJS = recover.obj
 
@@ -122,26 +81,12 @@ DLBOBJS = dlb_main.obj,panic.obj,$(SRC)alloc.obj,$(SRC)dlb.obj
 default :
       @ $(ECHO) "Oops!  No target(s) specified...."
 
-all    : $(MAKEDEFS) $(LEVCOMP) $(DGNCOMP) $(RECOVER) $(DLB)
+<all   : $(MAKEDEFS) $(LEVCOMP) $(DGNCOMP) $(RECOVER) $(DLB)
       @ $(ECHO) "util is up to date."
 
-#      special targets for folks without yacc/bison and or lex/flex
-no_yacc :
-       copy $(SYSSHR)%%%_yacc.c $(UTL)
-       copy $(SYSSHR)%%%_comp.h $(INC)
-      @ $(ECHO) "distributed yacc output (*_yacc.c) copied into place"
-no_lex :
-       copy $(SYSSHR)%%%_lex.c $(UTL)
-       copy $(VMS)lev_lex.h $(UTL)
-      @ $(ECHO) "distributed lex output (*_lex.c) copied into place"
-
 #      alternate target names for possible interactive use
 makedefs : $(MAKEDEFS)
       @ $(ECHO) "makedefs is up to date."
-#lev_comp : $(LEVCOMP)
-#      @ $(ECHO) "lev_comp is up to date."
-#dgn_comp : $(DGNCOMP)
-#      @ $(ECHO) "dgn_comp is up to date."
 recover  : $(RECOVER)
       @ $(ECHO) "recover is up to date."
 dlb     : $(DLB)
@@ -173,82 +118,15 @@ $(INC)onames.h    : $(MAKEDEFS)
        $(RUN) $(MAKEDEFS) -o
 $(INC)pm.h     : $(MAKEDEFS)
        $(RUN) $(MAKEDEFS) -p
-# both vis_tab.h and vis_tab.c are made at the same time by makedefs -z
-$(INC)vis_tab.h : $(SRC)vis_tab.c
-       $(TOUCH) $(INC)vis_tab.h
-$(SRC)vis_tab.c : $(MAKEDEFS)
-       $(RUN) $(MAKEDEFS) -z
 
 # the src Makefile is responsible for knowing when to call this, since
 # it knows all about the main src and include files
 $(INC)date.h : $(MAKEDEFS)
        $(RUN) $(MAKEDEFS) -v
 
-
-#      dependencies for lev_comp
-#
-#$(LEVCOMP) : $(SPLEVOBJS) $(VMSOBJS) $(LIBOPT) $(ID_OPT)
-#      $(LINK)/Exe=$(LEVCOMP) $(LFLAGS) $(SPLEVOBJS),$(VMSOBJS),$(LIBS)
-#
-#lev_yacc.obj : $(HACK_H) $(INC)sp_lev.h lev_yacc.c
-#      $(CC) $(CFLAGS) lev_yacc.c
-#lev_lex.obj  : $(HACK_H) $(INC)lev_comp.h $(INC)sp_lev.h lev_lex.c
-#      @ if f$search("lev_lex.h").nes."" then  $(MOVE) lev_lex.h stdio.h
-#      $(CC) $(CFLAGS) lev_lex.c
-#      @ if f$search("stdio.h").nes."" then  $(MOVE) stdio.h lev_lex.h
-#lev_main.obj : $(HACK_H) $(INC)sp_lev.h $(INC)tcap.h $(INC)date.h lev_main.c
-#      $(CC) $(CFLAGS) lev_main.c
 panic.obj    : $(CONFIG_H)
        $(CC) $(CFLAGS) panic.c
 
-#$(INC)lev_comp.h : lev_yacc.c
-#      $(TOUCH) $(INC)lev_comp.h
-
-#lev_yacc.c : lev_comp.y
-#      $(YACC) lev_comp.y
-#      $(MUNG) 'f$parse("$(YACCOUT)","lev_comp_tab.c")' "#module" /Outp=lev_yacc.c
-#      @ if f$search("''f$parse("$(YACCOUT)","lev_comp_tab.c")'").nes."" then \
-#              $(RM) 'f$parse("$(YACCOUT)","lev_comp_tab.c")'
-#      $(MOVE) 'f$parse("$(YACCOUT)","lev_comp_tab.h")' $(INC)lev_comp.h
-#
-#lev_lex.c : lev_comp.l
-#      $(LEX) lev_comp.l
-#      $(MUNG) 'f$parse("$(LEXOUT)","lev_comp_lex.c")' "#module" /Outp=lev_lex.c
-#      @ if f$search("''f$parse("$(LEXOUT)","lev_comp_lex.c")'").nes."" then \
-#              $(RM) 'f$parse("$(LEXOUT)","lev_comp_lex.c")'
-#
-#
-#      dependencies for dgn_comp
-#
-#$(DGNCOMP) : $(DGNCOMPOBJS) $(VMSOBJS) $(LIBOPT) $(ID_OPT)
-#      $(LINK)/Exe=$(DGNCOMP) $(LFLAGS) $(DGNCOMPOBJS),$(VMSOBJS),$(LIBS)
-#
-#dgn_yacc.obj : $(CONFIG_H) $(INC)dgn_file.h $(INC)date.h dgn_yacc.c
-#      $(CC) $(CFLAGS) dgn_yacc.c
-#dgn_lex.obj  : $(CONFIG_H) $(INC)dgn_comp.h $(INC)dgn_file.h dgn_lex.c
-#      @ if f$search("lev_lex.h").nes."" then  $(MOVE) lev_lex.h stdio.h
-#      $(CC) $(CFLAGS) dgn_lex.c
-#      @ if f$search("stdio.h").nes."" then  $(MOVE) stdio.h lev_lex.h
-#dgn_main.obj : $(CONFIG_H) dgn_main.c
-#      $(CC) $(CFLAGS) dgn_main.c
-#
-#$(INC)dgn_comp.h : dgn_yacc.c
-#      $(TOUCH) $(INC)dgn_comp.h
-#
-#dgn_yacc.c : dgn_comp.y
-#      $(YACC) dgn_comp.y
-#      $(MUNG) 'f$parse("$(YACCOUT)","dgn_comp_tab.c")' "#module" /Outp=dgn_yacc.c
-#      @ if f$search("''f$parse("$(YACCOUT)","dgn_comp_tab.c")'").nes."" then \
-#              $(RM) 'f$parse("$(YACCOUT)","dgn_comp_tab.c")'
-#      $(MOVE) 'f$parse("$(YACCOUT)","dgn_comp_tab.h")' $(INC)dgn_comp.h
-#
-#dgn_lex.c : dgn_comp.l
-#      $(LEX) dgn_comp.l
-#      $(MUNG) 'f$parse("$(LEXOUT)","dgn_comp_lex.c")' "#module" /Outp=dgn_lex.c
-#      @ if f$search("''f$parse("$(LEXOUT)","dgn_comp_lex.c")'").nes."" then \
-#              $(RM) 'f$parse("$(LEXOUT)","dgn_comp_lex.c")'
-
-
 #      dependencies for recover
 #
 $(RECOVER) : $(RECOVOBJS) $(VMSOBJS) $(LIBOPT) $(ID_OPT)
@@ -363,12 +241,7 @@ clean :
       - if f$search("*.obj") .nes."" then  $(RM) *.obj;
 
 spotless :     clean
-#      - if f$search("%%%_lex.c") .nes."" then  $(RM) %%%_lex.c;
-#      - if f$search("%%%_yacc.c").nes."" then  $(RM) %%%_yacc.c;
-#      - if f$search("$(INC)%%%_comp.h").nes."" then  $(RM) $(INC)%%%_comp.h;*
       - if f$search("$(INC)tile.h").nes."" then  $(RM) $(INC)tile.h;*
-#      - if f$search("lev_lex.h") .nes."" then  $(RM) lev_lex.h;
-      - if f$search("*tab.c")   .nes."" then  $(RM) *tab.c;
       - if f$search("*.exe").nes."" then \
  $(RM) $(MAKEDEFS),$(RECOVER),$(DLB)
       - if f$search("*.exe").nes."" then  $(RM) $(TILEUTILS)
index 9ef56da27de12330ebe68e77641735276ec32593..dc11601a942df954be1f7127c3047e7156c300ab 100755 (executable)
@@ -1,6 +1,6 @@
 $ ! vms/vmsbuild.com -- compile and link NetHack 3.7.*                 [pr]
 $      version_number = "3.7.0"
-$ ! $NHDT-Date: 1557701799 2019/05/12 22:56:39 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.23 $
+$ ! $NHDT-Date: 1609347486 2020/12/30 16:58:06 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.35 $
 $ ! Copyright (c) 2018 by Robert Patrick Rankin
 $ ! NetHack may be freely redistributed.  See license for details.
 $
@@ -276,7 +276,7 @@ $     if c_opt.ne.o_SPCL .or. f$search(nethacklib).eqs."" then -
   libr/Obj 'nethacklib'/Create=(Block=3000,Hist=0)
 $ if f$search("''nethacklib';-1").nes."" then  purge 'nethacklib'
 $!
-$! compile and link makedefs, then nethack, lev_comp+dgn_comp, dlb+recover.
+$! compile and link makedefs, then nethack, dlb+recover.
 $!
 $ milestone "<compiling...>"
 $ c_list = "[-.sys.vms]vmsmisc,[-.sys.vms]vmsfiles,[]alloc,dlb,monst,objects"
@@ -292,8 +292,6 @@ $! create some build-time files
 $ makedefs -p  !pm.h
 $ makedefs -o  !onames.h
 $ makedefs -v  !date.h
-$ milestone " (*.h)"
-$ makedefs -z  !../src/vis_tab.c, ../include/vis_tab.h
 $ milestone " (*.c)"
 $ set default [-.src]
 $! compile most of the source files:
@@ -315,17 +313,17 @@ $ c_list = "hack,hacklib,insight,invent,light,lock,mail,makemon" -
        + ",music,o_init,objnam,options,pager,pickup"
 $ gosub compile_list
 $ c_list = "pline,polyself,potion,pray,priest,quest,questpgr,read" -
-       + ",rect,region,restore,rip,rnd,role,rumors,save,shk,shknam,sit" -
-       + ",sounds,sp_lev,spell,steal,steed,sys,teleport,timeout,topten" -
-       + ",track,trap,u_init"
+       + ",rect,region,restore,rip,rnd,role,rumors,save,sfstruct,shk" -
+       + ",shknam,sit,sounds,sp_lev,spell,steal,steed,sys,teleport" -
+       + ",timeout,topten,track,trap,u_init"
 $ gosub compile_list
-$ c_list = "uhitm,vault,vision,vis_tab,weapon,were,wield,windows" -
+$ c_list = "uhitm,vault,vision,weapon,were,wield,windows" -
        + ",wizard,worm,worn,write,zap"
 $ gosub compile_list
 $!
 $! Files added in 3.7
 $!
-$ c_list = "nhlua,nhlobj,nhlsel" !,sfstruct
+$ c_list = "nhlua,nhlobj,nhlsel"
 $ gosub compile_list
 $!
 $! 3.7 runtime LUA level parser/loader