[kbuild-devel] makefile rules request

2002-04-12 Thread Brendan J Simon
Keith, I'd like to request a minor change to the makefile rules to generate targets. Could each rule start with removing the target. Example: %.o : %.c $(CC) $(CFLAGS) -c -o $@ $ becomes: %.o : %.c $(RM) $@ $(CC) $(CFLAGS) -c -o $@ $ The main reason is to satisfy some

Re: [kbuild-devel] makefile rules request

2002-04-12 Thread Keith Owens
On Fri, 12 Apr 2002 17:54:19 +1000, Keith Owens [EMAIL PROTECTED] wrote: On Fri, 12 Apr 2002 17:05:56 +1000, Brendan J Simon [EMAIL PROTECTED] wrote: I'd like to request a minor change to the makefile rules to generate targets. Could each rule start with removing the target. Example: %.o :

Re: [kbuild-devel] makefile rules request

2002-04-12 Thread Keith Owens
On Fri, 12 Apr 2002 17:05:56 +1000, Brendan J Simon [EMAIL PROTECTED] wrote: I'd like to request a minor change to the makefile rules to generate targets. Could each rule start with removing the target. Example: %.o : %.c $(CC) $(CFLAGS) -c -o $@ $ becomes: %.o : %.c $(RM) $@