diff options
Diffstat (limited to 'exec/Makefile')
-rw-r--r-- | exec/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/exec/Makefile b/exec/Makefile new file mode 100644 index 0000000..eb98c60 --- /dev/null +++ b/exec/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)/exec + +clean: + rm -f $(BINDIR)/exec $(OBJDIR)/*.o + +$(BINDIR)/exec: $(OBJDIR)/exec.o +$(OBJDIR)/exec.o: $(SRCDIR)/exec.c + $(CC) $(CFLAGS) -o $@ -c $(SRCDIR)/exec.c + +$(BINDIR)/exec: + $(LD) $(LDFLAGS) -o $@ $(OBJDIR)/*.o $(LDLIBS) |