1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2024-11-23 22:35:20 +02:00

fw/common/Makefile.common (clean, spotless): allow overloading (with ::)

This commit is contained in:
Werner Almesberger 2011-09-04 12:31:13 -03:00
parent 405a0c8adc
commit f1f900944b

View File

@ -111,7 +111,7 @@ dfu.rel: $(F32XBASE)/fw/boot/dfu.c
# ----- clean ----------------------------------------------------------------- # ----- clean -----------------------------------------------------------------
clean: clean::
rm -f $(OBJS:%=%.rel) rm -f $(OBJS:%=%.rel)
rm -f $(OBJS:%=%.asm) $(OBJS:%=%.lst) rm -f $(OBJS:%=%.asm) $(OBJS:%=%.lst)
rm -f $(OBJS:%=%.rst) $(OBJS:%=%.sym) rm -f $(OBJS:%=%.rst) $(OBJS:%=%.sym)
@ -121,5 +121,5 @@ clean:
# ----- spotless -------------------------------------------------------------- # ----- spotless --------------------------------------------------------------
spotless: clean spotless:: clean
rm -f $(MAIN).bin .depend rm -f $(MAIN).bin .depend