blob: 4ca010781e9c243e0840bb96ff5a66fca108a08f (
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 keyserver configure reader parser encrypt-for armor
CFLAGS = -I../include -O0 -g -Wall -Werror
LDFLAGS = -L$(CARGO_TARGET_DIR)/debug -lsequoia_ffi
all: $(TARGETS)
clean:
rm -f $(TARGETS)
$(TARGETS): ../include/sequoia.h
|