cross-compile fix-up
This commit is contained in:
@@ -572,7 +572,8 @@ HACKINCL = align.h artifact.h artilist.h attrib.h botl.h \
|
|||||||
HSOURCES = $(HACKINCL) date.h onames.h pm.h vis_tab.h dgn_file.h
|
HSOURCES = $(HACKINCL) date.h onames.h pm.h vis_tab.h dgn_file.h
|
||||||
|
|
||||||
# the following .o's _must_ be made before any others (for makedefs)
|
# the following .o's _must_ be made before any others (for makedefs)
|
||||||
HOSTOBJ = monst.o objects.o alloc.o drawing.o
|
FIRSTOBJ = monst.o objects.o
|
||||||
|
HOSTOBJ = $(FIRSTOBJ) alloc.o drawing.o
|
||||||
|
|
||||||
HOBJ = $(TARGETPFX)allmain.o $(TARGETPFX)alloc.o \
|
HOBJ = $(TARGETPFX)allmain.o $(TARGETPFX)alloc.o \
|
||||||
$(TARGETPFX)apply.o $(TARGETPFX)artifact.o $(TARGETPFX)attrib.o \
|
$(TARGETPFX)apply.o $(TARGETPFX)artifact.o $(TARGETPFX)attrib.o \
|
||||||
|
|||||||
@@ -1296,7 +1296,9 @@ do_date()
|
|||||||
Fprintf(ofp, "#define NETHACK_%sGIT_BRANCH \"%s\"\n",
|
Fprintf(ofp, "#define NETHACK_%sGIT_BRANCH \"%s\"\n",
|
||||||
xpref, gitbranch);
|
xpref, gitbranch);
|
||||||
}
|
}
|
||||||
|
#if !defined(CROSSCOMPILE) || !defined(CROSSCOMPILE_TARGET)
|
||||||
Fprintf(ofp, "#endif /* !CROSSCOMPILE || !CROSSCOMPILE_TARGET */\n");
|
Fprintf(ofp, "#endif /* !CROSSCOMPILE || !CROSSCOMPILE_TARGET */\n");
|
||||||
|
#endif
|
||||||
Fprintf(ofp, "\n");
|
Fprintf(ofp, "\n");
|
||||||
#ifdef AMIGA
|
#ifdef AMIGA
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user