[uClibc-cvs] uClibc/extra/config Makefile,1.8,1.9

Erik Andersen andersen at uclibc.org
Sat Oct 18 10:18:30 UTC 2003


Update of /var/cvs/uClibc/extra/config
In directory winder:/tmp/cvs-serv6249/extra/config

Modified Files:
	Makefile 
Log Message:
Peter Kjellerstedt writes:

rm.patch:
* Define $(RM) as rm -f in Rules.mak and test/Rules.mak
  (this is the same definition as gmake uses by default).
* Change all occurrences of rm and rm -f into $(RM).



Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/extra/config/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile	11 Jan 2003 18:07:38 -0000	1.8
+++ Makefile	18 Oct 2003 10:18:25 -0000	1.9
@@ -103,9 +103,9 @@
 ncurses:
 	@echo "main() {}" > lxtemp.c
 	@if $(HOSTCC) lxtemp.c $(LIBS) ; then \
-		rm -f lxtemp.c a.out; \
+		$(RM) lxtemp.c a.out; \
 	else \
-		rm -f lxtemp.c; \
+		$(RM) lxtemp.c; \
 		echo -e "\007" ;\
 		echo ">> Unable to find the Ncurses libraries." ;\
 		echo ">>" ;\
@@ -119,6 +119,6 @@
 	fi
 
 clean:
-	rm -f *.o *~ core $(TARGETS) $(MCONF_OBJS) $(CONF_OBJS) \
+	$(RM) *.o *~ core $(TARGETS) $(MCONF_OBJS) $(CONF_OBJS) \
 		conf mconf zconf.tab.c zconf.tab.h lex.zconf.c lkc_defs.h
 




More information about the uClibc-cvs mailing list