mirror of
https://gitlab.kit.edu/kit/scc/sys/mail/exim-encrypt-dlfunc.git
synced 2025-12-06 08:43:55 +01:00
20 lines
369 B
Makefile
20 lines
369 B
Makefile
CC=gcc
|
|
CFLAGS=-I/usr/include/exim4 -g
|
|
LDFLAGS=-lsodium
|
|
LDFLAGS_LIB=-fpic -shared
|
|
|
|
.PHONY: clean all
|
|
|
|
.DEFAULT_GOAL := all
|
|
|
|
libexim-encrypt-dlfunc.so: libexim-encrypt-dlfunc.c
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LDFLAGS_LIB)
|
|
|
|
genkey: genkey.c
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f libexim-encrypt-dlfunc.so genkey
|
|
|
|
all: libexim-encrypt-dlfunc.so genkey
|