'make' => 'make all'
In sys/unix/Makefile.{top,src}, move the 'all' target first so that
it's the default if no target is specified. Recent lua handling
unintentionally broke that for Makefile.top by putting 'lua_support'
target in front of 'all'.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# NetHack Makefile.
|
||||
# NetHack 3.6 Makefile.src $NHDT-Date: 1575917700 2019/12/09 18:55:00 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.86 $
|
||||
# NetHack 3.6 Makefile.src $NHDT-Date: 1575932543 2019/12/09 23:02:23 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.87 $
|
||||
# Copyright (c) 2018 by Pasi Kallinen
|
||||
# NetHack may be freely redistributed. See license for details.
|
||||
|
||||
@@ -527,6 +527,10 @@ HOBJ = $(FIRSTOBJ) allmain.o alloc.o apply.o artifact.o attrib.o ball.o \
|
||||
$(REGEXOBJ) $(RANDOBJ) $(SYSOBJ) $(WINOBJ) $(HINTOBJ) version.o
|
||||
# the .o files from the HACKCSRC, SYSSRC, and WINSRC lists
|
||||
|
||||
# first target is also the default target for 'make' without any arguments
|
||||
all: $(GAME)
|
||||
@echo ""
|
||||
|
||||
$(GAME): $(SYSTEM)
|
||||
@echo "$(GAME) is up to date."
|
||||
|
||||
@@ -582,8 +586,6 @@ DUMB.Setup: ../include/extern.h
|
||||
cp ../include/extern.DUMB ../include/extern.h
|
||||
@touch DUMB.Setup
|
||||
|
||||
all: $(GAME)
|
||||
|
||||
../lib/lua/liblua.a ../include/nhlua.h:
|
||||
@( cd .. ; $(MAKE) lua_support )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user