mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-25 13:31:37 +00:00
ok. I think this is right.
This commit is contained in:
parent
d75d9d98f5
commit
6c40e18b03
9
Makefile
9
Makefile
@ -60,6 +60,10 @@ ALL = $(TESTS:.c=.srec) $(TESTS:.c=.bin) $(TESTS:.c=.dis)
|
||||
|
||||
all: $(ALL)
|
||||
|
||||
tests/nvm-read.obj: src/maca.o
|
||||
tests/rftest-rx.obj: src/maca.o
|
||||
tests/rftest-tx.obj: src/maca.o
|
||||
|
||||
%.srec: %.obj
|
||||
$(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
|
||||
|
||||
@ -72,10 +76,11 @@ all: $(ALL)
|
||||
%.dis: %.obj
|
||||
$(OBJDUMP) -DS $< > $@
|
||||
|
||||
%.obj: $(AOBJS) $(COBJS) $(TARGETS) $(LDSCRIPT)
|
||||
%.obj: $(LDSCRIPT) %.o
|
||||
echo $*.o
|
||||
$(LD) $(LDFLAGS) $(AOBJS) \
|
||||
--start-group $(PLATFORM_LIBS) --end-group \
|
||||
-Map $*.map $*.o $< -o $@
|
||||
-Map $*.map $^ -o $@
|
||||
|
||||
|
||||
%.System.map: %.obj
|
||||
|
Loading…
Reference in New Issue
Block a user