summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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