cleanup main makefile
This commit is contained in:
parent
95dccba797
commit
dc9473a228
2 changed files with 10 additions and 4 deletions
|
@ -1,8 +1,6 @@
|
|||
LINKERSCRIPT := $(MC1322X)/mc1322x.lds
|
||||
LIBMC1322X := $(MC1322X)/libmc1322x
|
||||
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
include $(MC1322X)/config.mk
|
||||
|
||||
include $(MC1322X)/board/Makefile.board
|
||||
|
@ -68,3 +66,8 @@ clean:
|
|||
clobber \
|
||||
mrproper \
|
||||
distclean: clean
|
||||
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
ALL := $(OBJDIR)/board.h $(TARGETS)_$(BOARD).bin
|
||||
all: $(ALL)
|
|
@ -1,8 +1,11 @@
|
|||
MC1322X := ..
|
||||
|
||||
TARGETS := blink-red
|
||||
|
||||
include $(MC1322X)/Makefile.include
|
||||
|
||||
TARGETS := blink-red_$(BOARD).bin
|
||||
|
||||
all: $(OBJDIR)/board.h $(TARGETS) $(TARGETS:.bin=.dis)
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue