diff options
| author | Lorenzo Torres <lorenzotorres@outlook.it> | 2026-06-14 15:29:08 +0200 |
|---|---|---|
| committer | Lorenzo Torres <lorenzotorres@outlook.it> | 2026-06-14 15:29:08 +0200 |
| commit | 17688ac50b4af33f228368213bf1c1798034c054 (patch) | |
| tree | 9a52a6933a9b1181898f25d38dfeca1117e78cd5 /Makefile | |
basic echo server using epoll
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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) |
