all repos — cryptopals-challenges @ 0e4aa9c416921fbac9ee1d855621fb45292d4980

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