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

all: sand-leek

sand-leek.o: endian.h onion_base32.h key_update.h colour.h

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

clean:
	rm -f sand-leek *.o

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

.PHONY: all clean test