From bfb5a9ad837e8985aa66acb8a9d6e6790488dcd4 Mon Sep 17 00:00:00 2001 From: thing1 Date: Mon, 30 Jun 2025 07:54:25 +0100 Subject: init commit, should remake send --- send/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 send/Makefile (limited to 'send/Makefile') diff --git a/send/Makefile b/send/Makefile new file mode 100644 index 0000000..100e6df --- /dev/null +++ b/send/Makefile @@ -0,0 +1,24 @@ +CFLAGS = -ggdb -D_GNU_SOURCE +LIBS = `pkg-config --libs openssl` + +SRC = sendd.c send.c users.c +OBJ = $(SRC:.c=.o) + +all: sendd + +.c.o: + cc -c ${CFLAGS} $< + +sendd: sendd.o send.o users.o + cc sendd.o users.o -o sendd ${CFLAGS} ${LIBS} + cc send.o users.o -o send ${CFLAGS} ${LIBS} + +install: sendd + cp sendd send addevent delevent sortevents agenda /usr/local/bin/ + +uninstall: + rm /usr/local/bin/sendd + rm /usr/local/bin/send + +clean: + rm -rf *.o sendd send -- cgit v1.2.3