Applied patch #2762516
[fw/sdcc] / src / port.mk
index 466a2eae0bc40f8152987cbe212a9fd07b322570..8da5214b70319dc02dc74ab2544a2023269b15c0 100644 (file)
@@ -26,7 +26,7 @@ PREBUILD += $(PEEPRULES)
 
 all: $(PREBUILD) dep $(LIB)
 
-include $(top_builddir)Makefile.common
+include $(top_builddir)/Makefile.common
 
 $(LIB): $(OBJ)
        rm -f $(LIB)
@@ -43,7 +43,7 @@ Makefile.dep: $(PREBUILD) Makefile $(SOURCES) $(SPECIAL)
 
 # don't include Makefile.dep for the listed targets:
 ifeq "$(findstring $(MAKECMDGOALS),clean distclean)" ""
-  include Makefile.dep
+  -include Makefile.dep
 endif
 
 include $(srcdir)/../port-clean.mk