From ce54b769a3eb6eab8cc61804fdcef0c26993b0fb Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 2 Mar 2022 20:42:00 -0500 Subject: Add empty enroll program --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3abba03..96bd086 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,16 @@ CFLAGS += -std=c11 -Wall -Wextra -Wpedantic -Wmissing-prototypes CFLAGS += ${CEXTS:%=-Wno-%} LDADD.libtls = -ltls LDADD.ncursesw = -lncursesw +LDADD.resolv = -include config.mk LDLIBS = ${LDADD.libtls} ${LDADD.ncursesw} +LDLIBS.enroll = ${LDADD.libtls} ${LDADD.resolv} +OBJS.compat = + +OBJS += ${OBJS.compat} OBJS += buffer.o OBJS += chat.o OBJS += command.o @@ -32,11 +37,14 @@ TESTS += edit.t dev: tags all check -all: catgirl +all: catgirl catgirl-enroll catgirl: ${OBJS} ${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@ +catgirl-enroll: enroll.o ${OBJS.compat} + ${CC} ${LDFLAGS} enroll.o ${OBJS.compat} ${LDLIBS.enroll} -o $@ + ${OBJS}: chat.h edit.o edit.t input.o: edit.h @@ -53,7 +61,7 @@ tags: *.[ch] ctags -w *.[ch] clean: - rm -f catgirl ${OBJS} ${TESTS} tags + rm -f catgirl catgirl-enroll ${OBJS} enroll.o ${TESTS} tags install: catgirl catgirl.1 install -d ${DESTDIR}${BINDIR} ${DESTDIR}${MANDIR}/man1 -- cgit 1.4.1