diff --git a/agi/Makefile b/agi/Makefile
index 2ced1ba68efcce1125024b4e199c4c9b62f7a147..0cb6f3f02889bf9d13119bd580499295eaac862d 100644
--- a/agi/Makefile
+++ b/agi/Makefile
@@ -19,6 +19,10 @@ ifeq ($(OSARCH),SunOS)
   LIBS+=-lsocket -lnsl
 endif
 
+ifeq ($(OSARCH),mingw32)
+    AGIS:=
+endif
+
 include $(ASTTOPDIR)/Makefile.rules
 
 all: $(AGIS)