summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-10-23 16:11:57 -0400
committerJakob Kaivo <jkk@ung.org>2020-10-23 16:11:57 -0400
commitf216e17ee968179fea5d5355c9eafa1c66507305 (patch)
treeade122634f41db63fe459d8c31b65eae47b4f935
parent53f47f347e1a80ce8a5f8d3929ee1a3a776f5c18 (diff)
add Makefile
-rw-r--r--Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..049d1d8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+.POSIX:
+
+# This Makefile was generated by maje
+# See https://gitlab.com/jkaivo/maje/ for more information
+# Do not edit this Makefile by hand
+
+CC=c99
+LD=$(CC)
+CFLAGS=-Wall -Wextra -Wpedantic -Werror -g
+LDFLAGS=
+LDLIBS=
+SRCDIR=.
+OBJDIR=.
+BINDIR=$(OBJDIR)
+
+all: $(BINDIR)/cb
+
+clean:
+ rm -f $(BINDIR)/cb $(OBJDIR)/*.o
+
+$(BINDIR)/cb: $(OBJDIR)/cb.o
+$(OBJDIR)/cb.o: $(SRCDIR)/cb.c
+ $(CC) $(CFLAGS) -o $@ -c $(SRCDIR)/cb.c
+
+$(BINDIR)/cb:
+ $(LD) $(LDFLAGS) -o $@ $(OBJDIR)/*.o $(LDLIBS)