Clean operations are now toolchain specific

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@542 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-01-10 13:38:13 +00:00
parent 435528e7a0
commit 0e4924079a
31 changed files with 83 additions and 49 deletions
+4
View File
@@ -84,6 +84,10 @@ define ARCHIVE
$(AR) $1 $2 || { echo "$(AR) $1 $2 FAILED!" ; exit 1 ; }
endef
define CLEAN
@rm -f *.o *.a
endef
MKDEP = $(TOPDIR)/tools/mkdeps.sh
HOSTCC = gcc
+2 -2
View File
@@ -68,8 +68,8 @@ libboard$(LIBEXT): $(OBJS)
depend: .depend
clean:
rm -f libboard$(LIBEXT) *~
if [ ! -z "$(OBJEXT)" ]; then rm -f *$(OBJEXT); fi
@rm -f libboard$(LIBEXT) *~ .*.swp
$(call CLEAN)
distclean: clean
rm -f Make.dep .depend