commit 01e7426b2ea2db4f63047eae652db4239a7b8d93 parent d686d9f1286ca2d88c0d226eb4d84168b5d179a2 Author: phoebos <ben@bvnf.space> Date: Sat, 28 Aug 2021 18:54:00 +0100 add Makefile, .gitignore Diffstat:
A | .gitignore | | | 1 | + |
A | Makefile | | | 11 | +++++++++++ |
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -0,0 +1 @@ +gif diff --git a/Makefile b/Makefile @@ -0,0 +1,11 @@ +.POSIX: +.PHONY: clean +DEBUG=-ggdb3 -Og +XCFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wpedantic $(DEBUG) +LDFLAGS=-lm -static + +gif: gif.c + $(CC) $(XCFLAGS) $(LDFLAGS) -o $@ $< + +clean: + rm -f gif