diff --git a/ares/Makefile.netware b/ares/Makefile.netware
index 84bda1d7c9e926bf71a580650f725eb8fa7361b7..2ed40f735b90024dbe5a57859f39a475109fa530 100644
--- a/ares/Makefile.netware
+++ b/ares/Makefile.netware
@@ -269,8 +269,9 @@ ifdef IMPORTS
 	@echo $(DL)import $(IMPORTS)$(DL) >> $@
 endif
 ifeq ($(LD),nlmconv)
-	@echo $(DL)input $(OBJEXE)$(DL) >> $@
 	@echo $(DL)input $(PRELUDE)$(DL) >> $@
+	@echo $(DL)input $(OBJEXE)$(DL) >> $@
+	@echo $(DL)input $(@:.def=.o)$(DL) >> $@
 	@echo $(DL)output $(notdir $(@:.def=.nlm))$(DL) >> $@
 endif