mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-26 04:32:02 +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)
|
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
|
%.srec: %.obj
|
||||||
$(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
|
$(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
|
||||||
|
|
||||||
@ -72,10 +76,11 @@ all: $(ALL)
|
|||||||
%.dis: %.obj
|
%.dis: %.obj
|
||||||
$(OBJDUMP) -DS $< > $@
|
$(OBJDUMP) -DS $< > $@
|
||||||
|
|
||||||
%.obj: $(AOBJS) $(COBJS) $(TARGETS) $(LDSCRIPT)
|
%.obj: $(LDSCRIPT) %.o
|
||||||
|
echo $*.o
|
||||||
$(LD) $(LDFLAGS) $(AOBJS) \
|
$(LD) $(LDFLAGS) $(AOBJS) \
|
||||||
--start-group $(PLATFORM_LIBS) --end-group \
|
--start-group $(PLATFORM_LIBS) --end-group \
|
||||||
-Map $*.map $*.o $< -o $@
|
-Map $*.map $^ -o $@
|
||||||
|
|
||||||
|
|
||||||
%.System.map: %.obj
|
%.System.map: %.obj
|
||||||
|
Loading…
Reference in New Issue
Block a user