diff --git a/sys/unix/Makefile.utl b/sys/unix/Makefile.utl index e01949fa9..c2b40bd87 100644 --- a/sys/unix/Makefile.utl +++ b/sys/unix/Makefile.utl @@ -277,8 +277,9 @@ lintdgn: # dependencies for recover # -$(TARGETPFX)recover: $(RECOVOBJS) - $(TARGET_CLINK) $(TARGET_LFLAGS) -o recover $(RECOVOBJS) $(HACKLIB) $(LIBS) +$(TARGETPFX)recover: $(RECOVOBJS) $(TARGETPFX)$(HACKLIB) + $(TARGET_CLINK) $(TARGET_LFLAGS) -o recover \ + $(RECOVOBJS) $(TARGETPFX)$(HACKLIB) $(LIBS) $(TARGETPFX)recover.o: recover.c $(CONFIG_H) $(TARGET_CC) $(TARGET_CFLAGS) $(CSTD) -c recover.c -o $@ diff --git a/sys/unix/hints/include/cross-post.370 b/sys/unix/hints/include/cross-post.370 index 557b3504a..b4d8c759c 100644 --- a/sys/unix/hints/include/cross-post.370 +++ b/sys/unix/hints/include/cross-post.370 @@ -145,8 +145,9 @@ $(TARGETPFX)tileset.o : ../win/share/tileset.c $(TARGETPFX)bmptiles.o : ../win/share/bmptiles.c $(TARGETPFX)giftiles.o : ../win/share/giftiles.c $(TARGETPFX)recover.o : ../util/recover.c -$(TARGETPFX)recover.exe : $(TARGETPFX)recover.o - $(TARGET_LINK) $(TARGET_LFLAGS) $(TARGETPFX)recover.o -o $@ +$(TARGETPFX)recover.exe : $(TARGETPFX)recover.o $(TARGETPFX)hacklib.a + $(TARGET_LINK) $(TARGET_LFLAGS) \ + $(TARGETPFX)recover.o $(TARGETPFX)hacklib.a -o $@ endif # CROSS_SHARED # ifdef CROSS