Index: trunk/MagicSoft/Mars/Makefile
===================================================================
--- trunk/MagicSoft/Mars/Makefile	(revision 4029)
+++ trunk/MagicSoft/Mars/Makefile	(revision 4030)
@@ -101,5 +101,5 @@
 # This is a special workaround to create the shared object (bundle, plugin)
 # for root and the dynlib (to be linked with the executable) on Mac OSX
-ifdef DYFLAG
+ifneq ($DYFLAG,'')
 $(DYLIB): $(LIBRARIES) $(OBJS) $(HEADERS)
 	@echo " Linking $(DYLIB) ..."
@@ -113,5 +113,5 @@
 	@echo " Linking $@ ..." 
 	$(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@
-endif        
+endif
 
 dox: $(SOLIB)
