-$(TARGET).exe: $(TARGET).obj $(TARGET).res
- link $(LDFLAGS) /DELEXECUTABLE /RC $*, $@, $*, $(LIBDIR)\ $(LIBS)
+$(TARGET).exe: $(OBJECTS) $(TARGET).res
+ link $(LDFLAGS) /DELEXECUTABLE /RC -L/exet:nt/su:windows $(OBJECTS), $@, $*, $(LIBDIR)\ $(LIBS)