|
|
@ -24,7 +24,8 @@ RELPATH := $(subst $(TREEROOT),,$(HERE)) |
|
|
# |
|
|
# |
|
|
# where's a copy of this tree for windows so we can diff binaries |
|
|
# where's a copy of this tree for windows so we can diff binaries |
|
|
# |
|
|
# |
|
|
DIFFTO := $(shell cd $(TREEROOT)/../RomWBW.windows; pwd) |
|
|
|
|
|
|
|
|
WINROOT = $(TREEROOT)/../RomWBW.windows |
|
|
|
|
|
DIFFTO := $(shell if [ -d $(WINROOT) ] ; then cd $(WINROOT); pwd; fi) |
|
|
DIFFPATH := $(DIFFTO)/$(RELPATH) |
|
|
DIFFPATH := $(DIFFTO)/$(RELPATH) |
|
|
|
|
|
|
|
|
# |
|
|
# |
|
|
@ -127,6 +128,9 @@ clean:: |
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|
clobber:: clean |
|
|
clobber:: clean |
|
|
|
|
|
@if [ "$(DEST)" ] ; then for file in $(OBJECTS) ; do \ |
|
|
|
|
|
rm -f $$($(CASEFN) $(DEST)/$$file) ; \ |
|
|
|
|
|
done ; fi |
|
|
@-rm -f $$($(CASEFN) $(filter-out $(NODELETE),$(OBJECTS))) |
|
|
@-rm -f $$($(CASEFN) $(filter-out $(NODELETE),$(OBJECTS))) |
|
|
@for dir in $(SUBDIRS) ; do \ |
|
|
@for dir in $(SUBDIRS) ; do \ |
|
|
( echo "clobbering in `pwd`/$$dir" ; cd "$$dir" ; make clobber ) ; \ |
|
|
( echo "clobbering in `pwd`/$$dir" ; cd "$$dir" ; make clobber ) ; \ |
|
|
@ -137,6 +141,7 @@ clobber:: clean |
|
|
# the same objects |
|
|
# the same objects |
|
|
# |
|
|
# |
|
|
diff:: |
|
|
diff:: |
|
|
|
|
|
ifneq ($(DIFFTO),) |
|
|
@for dir in $(SUBDIRS) ; do \ |
|
|
@for dir in $(SUBDIRS) ; do \ |
|
|
( echo "diff in $(HERE)/$$dir" ; cd "$$dir" ; make diff ) ; \ |
|
|
( echo "diff in $(HERE)/$$dir" ; cd "$$dir" ; make diff ) ; \ |
|
|
done |
|
|
done |
|
|
@ -157,4 +162,5 @@ diff:: |
|
|
fi \ |
|
|
fi \ |
|
|
fi \ |
|
|
fi \ |
|
|
done |
|
|
done |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|