all repos — cryptopals-challenges @ 5e51d25c8a19a816f6f7bdea33ffc1db63860f80

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 char-freq-analize


all: $(TARGETS)

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

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

.PHONY: all clean