From f017ddf090f9602e750c7db22d034b4a707fff1f Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Wed, 21 Dec 2016 10:32:51 +0100 Subject: Initial --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6e84e3d --- /dev/null +++ b/Makefile @@ -0,0 +1,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 -- cgit v1.2.3-70-g09d2