diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-08-13 16:16:49 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-08-13 16:16:49 +0200 |
commit | 973294d700243326280e62048b426e1cfdd06711 (patch) | |
tree | 00a4194dd5a5ec34a07201128761dc1d80e59085 /Makefile |
Initial
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..73e948a --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CC := gcc +CFLAGS := -Wall -Wextra -std=c11 -O2 -fwrapv +BIN := bfcomp + +.PHONY: all clean remake + +all: $(BIN) + +clean: + rm -rf $(BIN) *.dSYM + +remake: clean all + + +$(BIN): $(wildcard *.c *.h) + $(CC) $(CFLAGS) -o $@ $(filter-out %.h,$^) |