]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Makefile
mdadm-1.5.0
[thirdparty/mdadm.git] / Makefile
index 6cbe0b09c722e7753a79fa15b1e4d8ace27f7387..af2aa7c8b4d3327e7763a2c96df32e70fad792e1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -78,6 +78,16 @@ mdadm.klibc : $(SRCS) mdadm.h
        rm -f $(OBJS) 
        gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIBC)/linux/include -I$(KLIBC)/klibc/arch/i386/include -I$(KLIBC)/klibc/include/bits32 $(CFLAGS) $(SRCS)
 
+mdassemble : mdassemble.c Assemble.c config.c dlink.c util.c mdadm.h
+       rm -f $(OBJS)
+       diet gcc -o mdassemble mdassemble.c Assemble.c config.c dlink.c util.c
+
+# This doesn't work
+mdassemble.klibc : mdassemble.c Assemble.c config.c dlink.c util.c mdadm.h
+       rm -f $(OBJS)
+       gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIBC)/linux/include -I$(KLIBC)/klibc/arch/i386/include -I$(KLIBC)/klibc/include/bits32 $(CFLAGS) -o mdassemble mdassemble.c Assemble.c config.c dlink.c util.c
+
+
 mdadm.man : mdadm.8
        nroff -man mdadm.8 > mdadm.man