diff --git a/src/sexpots/GNUmakefile b/src/sexpots/GNUmakefile index b0ba364eb117527eb9befd096882eb46a8cca43c..206acfad08be10e74adbf8a168604b3729b1dbab 100644 --- a/src/sexpots/GNUmakefile +++ b/src/sexpots/GNUmakefile @@ -3,6 +3,12 @@ include ${SRC_ROOT}/build/Common.gmake CFLAGS += -I${SRC_ROOT}/comio -I${SRC_ROOT}/sbbs3 $(XPDEV-MT_CFLAGS) LDFLAGS += $(XPDEV-MT_LDFLAGS) +ifeq ($(os), win32) + OBJS += $(MTOBJODIR)$(DIRSEP)comio_win32$(OFILE) + CFLAGS += -DTELNET_NO_DLL +else + OBJS += $(MTOBJODIR)$(DIRSEP)comio_nix$(OFILE) +endif vpath %.c ../comio ../sbbs3 diff --git a/src/sexpots/objects.mk b/src/sexpots/objects.mk index 8dcb4d1fc82bee94f64e20b924fbd9243bb8c558..00886d85cd693d6ebdff6a07c36fd4319b9451a0 100644 --- a/src/sexpots/objects.mk +++ b/src/sexpots/objects.mk @@ -1,5 +1,4 @@ OBJS = \ - $(MTOBJODIR)$(DIRSEP)comio_nix$(OFILE) \ $(MTOBJODIR)$(DIRSEP)comio$(OFILE) \ $(MTOBJODIR)$(DIRSEP)telnet$(OFILE) \ $(MTOBJODIR)$(DIRSEP)sexpots$(OFILE)