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

BIN = bfinter

.PHONY: all clean remake

all: $(BIN)

clean:
	rm -f $(BIN)

remake: clean all


$(BIN): $(wildcard *.c *.h)
	$(CC) $(CFLAGS) $(filter %.c,$^) -o $@