diff options
author | thing1 <thing1@seacrossedlovers.xyz> | 2025-06-30 07:54:25 +0100 |
---|---|---|
committer | thing1 <thing1@seacrossedlovers.xyz> | 2025-06-30 07:54:25 +0100 |
commit | bfb5a9ad837e8985aa66acb8a9d6e6790488dcd4 (patch) | |
tree | 04822c32837b15f0497d76f431df2305b5c90e92 /send/Makefile |
init commit, should remake send
Diffstat (limited to 'send/Makefile')
-rw-r--r-- | send/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
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 |