ifeq ($(CC),cc) | |
CC = gcc | |
endif | |
OBJECTS = \ | |
chacha20_simple.o \ | |
ecies-chacha20.o \ | |
ecc.o \ | |
server.o \ | |
syncrw.o | |
CFLAGS = -Wall -O1 -g | |
all: server keygen | |
server: $(OBJECTS) | |
$(CC) $^ -o $@ | |
keygen: keygen.o syncrw.o | |
$(CC) $^ -o $@ | |
clean: | |
rm -f *.o keygen server |