projects
/
platform
/
upstream
/
cryptsetup.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use system wide libcryptsetup in examples.
[platform/upstream/cryptsetup.git]
/
docs
/
examples
/
Makefile
1
TARGETS=crypt_log_usage crypt_luks_usage
2
CFLAGS=-O0 -g -Wall -D_GNU_SOURCE
3
LDLIBS=-lcryptsetup
4
CC=gcc
5
6
all: $(TARGETS)
7
8
crypt_log_usage: crypt_log_usage.o
9
$(CC) -o $@ $^ $(LDLIBS)
10
11
crypt_luks_usage: crypt_luks_usage.o
12
$(CC) -o $@ $^ $(LDLIBS)
13
14
clean:
15
rm -f *.o *~ core $(TARGETS)
16
17
.PHONY: clean