telnetd/Makefile.mk

17 lines
539 B
Makefile

.INCLUDE: Makefile.common
# This should be the ltermcap from GNO 2.0.4. The one from 2.0.6 is broken
# (links to unimplemented functions), so don't use it.
# The 2.0.4 version is in the "lib.shk" file within
# ftp://ftp.gno.org/pub/apple2/gs.specific/gno/base/v204/gnodisk1.sdk
LIBS = -l/usr/lib/libtermcap.204
CFLAGS = -i
$(OBJS): $(HEADERS)
%.o: %.c
$(CC) $(INCLUDES) \
$(!eq,$(TELNET_SRCS:s/$<//),$(TELNET_SRCS) $(TELNET_SPECIFIC)) \
$(!eq,$(TELNETD_SRCS:s/$<//),$(TELNETD_SRCS) $(TELNETD_SPECIFIC)) \
$(CFLAGS) -c $< -o $@