summaryrefslogtreecommitdiff
path: root/Makefile
blob: 0081677e6aabc1e20c53c60e148ba68e508d9efe (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

.PHONY: all clean remake

all: $(TARGETS)

clean:
	rm -f $(TARGETS)

remake: clean all


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