[Disksim-users] [patch] root Makefile

Xing Lin linxingnku at gmail.com
Fri Jun 17 14:06:46 EDT 2011


Hi,

This is a small patch for the root Makefile in DiskSim 4.0 with
dixtrac included.


commit e5953f57754e36fdbf2ba3803f619fffee9530ad
Author: Xing Lin <xinglin at cs.utah.edu>
Date:   Fri Jun 17 11:53:15 2011 -0600

    Added checking for the existence of dixtract dir for clean
    and distclean.

diff --git a/Makefile b/Makefile
index 3182db7..d075900 100644
--- a/Makefile
+++ b/Makefile
@@ -47,12 +47,16 @@ clean:
        for d in $(SUBDIRS); do \
                $(MAKE) -C $$d $@; \
        done
+       if [ -d dixtrac ]; then $(MAKE) -C dixtrac $@; fi

 distclean: clean
        rm -f *~
        for d in $(SUBDIRS); do \
                $(MAKE) -C $$d $@; \
        done
+       if [ -d dixtrac ]; then $(MAKE) -C dixtrac $@; fi

 .PHONY: doc
 doc:



-- 
Regards,
Xing
School of Computing, University of Utah
http://www.cs.utah.edu/~xinglin/



More information about the Disksim-users mailing list