diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-11-11 10:45:05 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-11-11 10:45:05 -0500 |
commit | 4601fa65349cd7b3f60619842f3585a1336bc183 (patch) | |
tree | 1af99de0316359cdc3fb0731a48d57d0351adbe2 /Makefile |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bf7a297 --- /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)/deonebook + +clean: + rm -f $(BINDIR)/deonebook $(OBJDIR)/*.o + +$(BINDIR)/deonebook: $(OBJDIR)/deonebook.o +$(OBJDIR)/deonebook.o: $(SRCDIR)/deonebook.c + $(CC) $(CFLAGS) -o $@ -c $(SRCDIR)/deonebook.c + +$(BINDIR)/deonebook: + $(LD) $(LDFLAGS) -o $@ $(OBJDIR)/*.o $(LDLIBS) |