diff options
author | Jakob Kaivo <jkk@ung.org> | 2022-04-25 19:45:31 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2022-04-25 19:45:31 -0400 |
commit | 319c7568828a01fa5ba8ded0b560d852124ffb84 (patch) | |
tree | 7ca966f27a06885ae6451e730128f70994355a4a /Makefile | |
parent | 0c72419d193ca13edc8302cd8c151bbe80a4716f (diff) |
add support for setting flags in source
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |