From 319c7568828a01fa5ba8ded0b560d852124ffb84 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 25 Apr 2022 19:45:31 -0400 Subject: add support for setting flags in source --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8f057b7..3853a27 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,12 @@ $(OBJDIR)/make.o: $(SRCDIR)/make.c @mkdir -p $(@D) $(CC) $(CFLAGS) -o $@ -c $(SRCDIR)/make.c +$(BINDIR)/maje: $(OBJDIR)/flags.o +$(OBJDIR)/flags.o: $(SRCDIR)/maje.h +$(OBJDIR)/flags.o: $(SRCDIR)/flags.c + @mkdir -p $(@D) + $(CC) $(CFLAGS) -o $@ -c $(SRCDIR)/flags.c + $(BINDIR)/maje: $(OBJDIR)/includes.o $(OBJDIR)/includes.o: $(SRCDIR)/maje.h $(OBJDIR)/includes.o: $(SRCDIR)/includes.c -- cgit v1.2.1