summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4638c48796dd1517d56b86b5c950125abb2b970d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = gcc
CFLAGS = -Wall -Wextra -O2 -std=c11 -fwrapv -D_POSIX_C_SOURCE

TARGETS = bfinter bfinter2 bfinter_simple

.PHONY: all clean remake

all: $(TARGETS)

clean:
	rm -f $(TARGETS)

remake: clean all


$(TARGETS): %: %.c
	$(CC) $(CFLAGS) $^ -o $@