summaryrefslogtreecommitdiffstats
path: root/docs/examples/Makefile
blob: 845b6cbc8a65bf9bb69627361c703a14957609fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TARGETS=crypt_log_usage crypt_luks_usage
CFLAGS=-O0 -g -Wall -D_GNU_SOURCE
LDLIBS=-lcryptsetup
CC=gcc

all: $(TARGETS)

crypt_log_usage: crypt_log_usage.o
	$(CC) -o $@ $^ $(LDLIBS)

crypt_luks_usage: crypt_luks_usage.o
	$(CC) -o $@ $^ $(LDLIBS)

clean:
	rm -f *.o *~ core $(TARGETS)

.PHONY: clean