mirror of
https://github.com/sheumann/telnetd.git
synced 2024-11-22 16:31:27 +00:00
15 lines
378 B
Makefile
15 lines
378 B
Makefile
include Makefile.common
|
|
|
|
LIBS = -ltermcap
|
|
|
|
# CFLAGS suitable for clang or GCC
|
|
CFLAGS = -std=c89 -funsigned-char -Wall -Wno-pointer-sign -Wno-unused-variable -Wno-string-plus-int
|
|
|
|
$(OBJS): $(HEADERS)
|
|
%.o: %.c
|
|
$(CC) $(INCLUDES) \
|
|
$(if $(findstring $<,$(TELNET_SRCS)),$(TELNET_SPECIFIC)) \
|
|
$(if $(findstring $<,$(TELNETD_SRCS)),$(TELNETD_SPECIFIC)) \
|
|
$(CFLAGS) -c $< -o $@
|
|
|