summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/mar/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdk-stage1/mar/Makefile b/mdk-stage1/mar/Makefile
index 0a12e21d8..93c706119 100644
--- a/mdk-stage1/mar/Makefile
+++ b/mdk-stage1/mar/Makefile
@@ -39,7 +39,10 @@ libmar.a: mar-extract-only.o
ar -cru $@ $^
ranlib $@
-mar-extract-only.o: mar-extract-only.c mar-extract-only.h mar.h
+dietlibc:
+ make -C ../dietlibc
+
+mar-extract-only.o: dietlibc mar-extract-only.c mar-extract-only.h mar.h
$(DIET) gcc $(CFLAGS) $(INCLUDES) -c mar-extract-only.c
mar-frontend.o: mar-frontend.c mar.h mar-extract-only.h