From 17688ac50b4af33f228368213bf1c1798034c054 Mon Sep 17 00:00:00 2001 From: Lorenzo Torres Date: Sun, 14 Jun 2026 15:29:08 +0200 Subject: basic echo server using epoll --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6ef185b --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +include config.mk + +IMAP_SRC:=imap.c + +IMAP_OBJ:=$(IMAP_SRC:.c=.o) + +all: imap + +imap: $(IMAP_OBJ) + $(CC) $(LIBS) $(IMAP_OBJ) -o imapd + +%.o: %.c + $(CC) $(CFLAGS) -c $< -o $@ + +.PHONY: clean +clean: + @rm -rfv imapd $(IMAP_OBJ) -- cgit v1.2.3