msdos cross-compile bits

This commit is contained in:
nhmall
2019-12-27 12:13:41 -05:00
parent a4dfac2cec
commit 4e904d01e8
2 changed files with 4 additions and 9 deletions

View File

@@ -285,6 +285,9 @@ $(HOST_O)%.o : $(MSYS)/%.c
$(HOST_O)%.o : $(SRC)/%.c
$(HOST_CC) $(cflags) -o$@ $<
$(HOST_O)%.o : $(UTIL)/%.c
$(HOST_CC) $(cflags) -o$@ $<
$(HOST_O)%.o : %.c
$(HOST_CC) $(cflags) -o$@ $<
@@ -411,8 +414,6 @@ hobj.tag:
$(U)makedefs: $(MAKEDEFSOBJS)
$(HOST_LINK) $(LFLAGS) -o$@ $(MAKEDEFSOBJS)
$(O)makedefs$(HOST).o:
$(HOST_O)makedefs.o: $(U)makedefs.c $(SRC)/mdlib.c $(CONFIG_H) $(INCL)/permonst.h \
$(INCL)/objclass.h $(INCL)/monsym.h \
$(INCL)/artilist.h $(INCL)/dungeon.h $(INCL)/obj.h \

View File

@@ -605,12 +605,6 @@ install: $(GAMEFILE) $(O)install.tag
default: $(GAMEFILE)
util: $(O)utility.tag
$(O)utility.tag: $(INCL)/date.h $(INCL)/trap.h $(INCL)/onames.h \
$(INCL)/pm.h vis_tab.c $(TILEUTIL)
echo utilities made > $@
tileutil: $(U)gif2txt $(U)txt2ppm
@echo Optional tile development utilities are up to date.
@@ -647,7 +641,7 @@ endif
#==========================================
$(GAMEFILE): $(O)obj.tag $(PDCLIB) $(LUALIB) \
$(O)utility.tag $(ALLOBJ) $(O)$(GAME).lnk
$(ALLOBJ) $(O)$(GAME).lnk
if [ -f temp.a ]; then rm temp.a; fi;
@$(TARGET_AR) r temp.a $(VOBJ01)
@$(TARGET_AR) r temp.a $(VOBJ02)