all repos — cryptopals-challenges @ bdb02a337bc5ca70bc3d4fde7a29731920c90869

cryptopals-challenges

set1/Makefile

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
CC      = gcc
CFLAGS  = -Wall -Wpedantic -Wextra -std=c99 -fstack-protector-all \
          -fdiagnostics-color=auto
DEBUG   = -0g -ggdb
LINK    = 
SRC_DIR = src
OUT_DIR = bin
TARGETS = base64 fixed-xor


all: $(TARGETS)

%: $(SRC_DIR)/%.c
	$(CC) $(CFLAGS) $(LINK) $< -o $(OUT_DIR)/$@

clean:
	$(RM) *.o $(OUT_DIR)/*

.PHONY: all clean