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

.PHONY: all clean remake

all: $(BIN)

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

remake: clean all