Index: trunk/Ohana/src/opihi/Makefile
===================================================================
--- trunk/Ohana/src/opihi/Makefile	(revision 2774)
+++ trunk/Ohana/src/opihi/Makefile	(revision 2833)
@@ -33,12 +33,12 @@
 
 $(PROGRAM) $(LIBS) $(EXTRAS):
-	if [ -e "$@" ]; then (cd $@ && make); fi
+	if [ -d "$@" ]; then (cd $@ && make); fi
 
 %.install:
-	if [ -e "$*" ]; then make $*; fi
-	if [ -e "$*" ]; then (cd $* && make install); fi
+	if [ -d "$*" ]; then make $*; fi
+	if [ -d "$*" ]; then (cd $* && make install); fi
 
 %.clean:
-	if [ -e "$*" ]; then (cd $* && make clean); fi
+	if [ -d "$*" ]; then (cd $* && make clean); fi
 
 .PHONY: $(PROGRAM) $(LIBS)
