aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: a2b3e94ae3ded7523f0d4e049a87a9f56e66344d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS += -Wall -Wextra -O2
LDFLAGS += -lssl -lcrypto -lpthread

all: sand-leek sand-leek-cl

sand-leek: sand-leek.o onion_base32.o key_update.o
	$(CC) -o $@ $^ $(LDFLAGS)

sand-leek-cl: trampoline.o
	$(CC) -o $@ $^ $(LDFLAGS)

clean:
	rm -f sand-leek *.o

test: all
	@./test/run-tests.sh

.PHONY: all clean test