From 5fd418a22a0b9631328b7516a901f829016a3be2 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 1 Feb 2021 12:05:48 -0500 Subject: outline of check program --- check/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 check/Makefile (limited to 'check/Makefile') diff --git a/check/Makefile b/check/Makefile new file mode 100644 index 0000000..67b3f91 --- /dev/null +++ b/check/Makefile @@ -0,0 +1,32 @@ +.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)/check + +clean: + rm -f $(BINDIR)/check $(OBJDIR)/*.o + +$(BINDIR)/check: $(OBJDIR)/parse.o +$(OBJDIR)/parse.o: $(SRCDIR)/check.h +$(OBJDIR)/parse.o: $(SRCDIR)/parse.c + $(CC) $(CFLAGS) -o $@ -c $(SRCDIR)/parse.c + +$(BINDIR)/check: $(OBJDIR)/check.o +$(OBJDIR)/check.o: $(SRCDIR)/check.h +$(OBJDIR)/check.o: $(SRCDIR)/check.c + $(CC) $(CFLAGS) -o $@ -c $(SRCDIR)/check.c + +$(BINDIR)/check: + $(LD) $(LDFLAGS) -o $@ $(OBJDIR)/*.o $(LDLIBS) -- cgit v1.2.1