blob: 3b659e505faba17b16a8fb9828dc1c03397e888e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Makefile for examples written in C.
CARGO ?= cargo
CARGO_TARGET_DIR ?= $(shell pwd)/../../target
# We currently only support absolute paths.
CARGO_TARGET_DIR := $(abspath $(CARGO_TARGET_DIR))
TARGETS = example reader parser encrypt-for armor type-safety-demo use-after-free-demo
CFLAGS = -I../include -O0 -g -Wall -Werror
LDFLAGS = -L$(CARGO_TARGET_DIR)/debug -lsequoia_openpgp_ffi
all: $(TARGETS)
clean:
rm -f $(TARGETS)
$(TARGETS): ../include/sequoia/openpgp.h
|