* sdcc.spec: corrected for 2.6.0. Thanks to Christer Weinigel.
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 3 Sep 2006 18:04:48 +0000 (18:04 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 3 Sep 2006 18:04:48 +0000 (18:04 +0000)
* device/lib/Makefile.in device/lib/clean.mk: small but essential corrections

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4356 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
device/lib/Makefile.in
device/lib/clean.mk

index 2631218d76883a12201ad10fa8310263f3f519b9..fb4b13dc5e3d79031b26fa2e75f0f61bfc768ac9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2006-09-03 Borut Razem <borut.razem AT siol.net>
 
        * sdcc.spec: corrected for 2.6.0. Thanks to Christer Weinigel.
+       * device/lib/Makefile.in device/lib/clean.mk: small but essential corrections
 
 2006-09-03 Raphael Neider <rneider AT web.de>
 
index 50522964a0d9117016e93c22a9b28c03bc6b16fd..739b0bfaab30fb3d55ce45e0faef76ed3d017339 100644 (file)
@@ -319,7 +319,7 @@ $(PORTDIR):
        mkdir -p $(PORTDIR)
 
 port-specific-objects:
-       if [ -f $(PORT)/Makefile ]; then \
+       -if [ -f $(PORT)/Makefile ]; then \
          $(MAKE) -C $(PORT); \
          cp -f $(PORT)/*.lib $(PORT)/*$(OEXT) $(PORTDIR); \
        fi
index 2f0867b0417e6fce9ff5cee1771a170d52b75419..e86da6b47e1278e0923fdd014b9abc905cada286 100644 (file)
@@ -11,12 +11,12 @@ clean:
        for model in $(MODELS); do \
          if [ -d $$model ]; then \
            cd $$model && for name in *; do if [ -f $$name -a $$name != Makefile -a $$name != Makefile.in ]; then rm $$name; fi; done; \
-         fi; \
+         fi;\
        done
        for port in $(CLEANALLPORTS) ; do\
          if [ -f $$port/Makefile ]; then\
            $(MAKE) -C $$port clean ;\
-         fi\
+         fi;\
        done
 
 
@@ -27,7 +27,7 @@ distclean: clean
        for port in $(CLEANALLPORTS) ; do\
          if [ -f $$port/Makefile ]; then\
            $(MAKE) -C $$port distclean ;\
-         fi\
+         fi;\
        done
 
 # Like clean but some files may still exist