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