set the default goal to be 'all'

This commit is contained in:
Mariano Alvira 2010-02-23 15:01:19 -05:00
parent 66532fd567
commit cd13c5daad

View file

@ -1,6 +1,8 @@
LINKERSCRIPT = $(MC1322X)/mc1322x.lds
LIBMC1322X = $(MC1322X)/libmc1322x
.DEFAULT_GOAL = all
include $(MC1322X)/config.mk
include $(MC1322X)/board/Makefile.board
@ -30,7 +32,7 @@ $(ISR): $(ISR:.o=.c)
%_$(BOARD).elf: %.elf
mv $< $@
%.elf: $(START) $(ISR) $(OBJDIR)/%.o $(LINKERSCRIPT) board
%.elf: $(START) $(ISR) $(LIBMC1322X)/libmc1322x.a $(OBJDIR)/%.o $(LINKERSCRIPT) board
$(LD) $(LDFLAGS) $(AOBJS) \
--start-group $(PLATFORM_LIBS) --end-group \
$(filter %.o %.a,$+) -o $@