From 0cfec94c0284ddd0eeeb99667ce8e30ec99e15be Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 14 May 2021 20:31:12 -0400 Subject: initial commit --- Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c5931bf --- /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=-lX11 +SRCDIR=. +OBJDIR=. +BINDIR=$(OBJDIR) + +all: $(BINDIR)/xnext + +clean: + rm -f $(BINDIR)/xnext $(OBJDIR)/*.o + +$(BINDIR)/xnext: $(OBJDIR)/xnext.o +$(OBJDIR)/xnext.o: $(SRCDIR)/xnext.c + $(CC) $(CFLAGS) -o $@ -c $(SRCDIR)/xnext.c + +$(BINDIR)/xnext: + $(LD) $(LDFLAGS) -o $@ $(OBJDIR)/*.o $(LDLIBS) -- cgit v1.2.1