summaryrefslogtreecommitdiff
path: root/Makefile
blob: 59d835c75639ec23db06bdaefdc8e85f9ff4e5c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = gcc
CFLAGS = -Wall -Wextra -std=c99 -fwrapv
ifneq ($(DEBUG),)
	CFLAGS += -g
else
	CFLAGS += -O2
endif
BIN = bin2c c2bin

.PHONY: all clean remake

all: $(BIN)

clean:
	rm -rf $(BIN) *.dSYM

remake: clean all