* 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
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>
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
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
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