spot-the-bug/stream-ciphers/Makefile

18 lines
456 B
Makefile

.PHONY: all clean
all: epic_drm client
epic_drm: epic_drm.c monocypher-3.1.1/lib/monocypher.o
gcc -g -Wall -Wextra -std=gnu11 -pipe -o $@ -Imonocypher-3.1.1/src -lpthread -lrt $< \
monocypher-3.1.1/lib/monocypher.o
client: client.c
gcc -O3 -Wall -Wextra -std=gnu11 -pipe -o $@ -lpthread -lrt $<
monocypher-3.1.1/lib/monocypher.o:
cd monocypher-3.1.1 && $(MAKE) lib/monocypher.o
clean:
$(RM) epic_drm client
cd monocypher-3.1.1 && $(MAKE) clean