diff options
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..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) |