(file) Return to depend-windows.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

Diff for /pegasus/mak/depend-windows.mak between version 1.2 and 1.3

version 1.2, 2001/01/28 04:11:03 version 1.3, 2001/02/05 02:31:34
Line 1 
Line 1 
   
 define NEWLINE  
   
   
 endef  
   
 DEPEND_MAK = $(OBJ_DIR)/depend.mak DEPEND_MAK = $(OBJ_DIR)/depend.mak
  
   ##
   ## Notice that the system includes are excluded. That is because this
   ## depend utility doesn't require that all the includes be resolved (just
   ## the ones that matter (the ones the user put on the path).
   ##
   
 depend: $(OBJ_DIR)/target $(ERROR) depend: $(OBJ_DIR)/target $(ERROR)
         @ mu rm $(DEPEND_MAK)          mu depend -O$(OBJ_DIR) $(INCLUDES) $(SOURCES) > $(DEPEND_MAK)
         @ echo === depend:  
         $(foreach i, $(SOURCES), \  
             @ $(CXX) -P $(FLAGS) $(LOCAL_DEFINES) $(DEFINES)  \  
                 $(PRE_DEPEND_INCLUDES) $(DEPEND_INCLUDES) \  
                 $(SYS_INCLUDES) $(INCLUDES) $(i) $(NEWLINE) \  
             @ mu depend \  
                 $(subst .cpp,.i,$(i)) $(DEPEND_MAK) $(OBJ_DIR)/ $(NEWLINE) \  
         )  
  
 clean-depend: clean-depend:
         $(RM) $(OBJ_DIR)/depend.mak         $(RM) $(OBJ_DIR)/depend.mak


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2