place MIPS cross-compile game in targets subfolder

This commit is contained in:
nhmall
2024-12-01 09:10:33 -05:00
parent 763ed61af7
commit c81af23c8c

View File

@@ -359,6 +359,7 @@ CFLAGS += -DCROSSCOMPILE
override TARGET_CC = mipsel-linux-gnu-gcc
override TARGET_CXX = CXX=mipsel-linux-gnu-g++
override TARGET_AR = mipsel-linux-gnu-ar
MIPS_TARGET = $(TARGETPFX)nethack
#override TARGET_LINK = mipsel-linux-gnu-ld
MIPS_TARGET_CFLAGS = -c -O -I../include -I../sys/unix -I../win/share \
$(LUAINCL) -DDLB \
@@ -390,7 +391,7 @@ override WINLIB = $(NCURSESLIB)
override LUALIB=
override LUALIBS=
override TOPLUALIB=
#override GAMEBIN=
override GAMEBIN=$(MIPS_TARGET)
#override PACKAGE=
override PREGAME += mkdir -p $(TARGETDIR) ;
override CLEANMORE += rm -f -r $(TARGETDIR) ;