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