all repos — cryptopals-challenges @ 11bb1ef661dc726368b676f9e21b69a05280f12e

cryptopals-challenges

set1/Makefile

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
CC      = gcc
CFLAGS  = -Wall -Wpedantic -Wextra -std=c99
DEBUG   = -g
LINK    = 
SRC_DIR = src
OUT_DIR = bin
TARGETS = base64


all: $(TARGETS)

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

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

.PHONY: all clean