Skip to content
Snippets Groups Projects
Select Git revision
  • 963181547430d9143a98f49a08b916ef658c8206
  • master default protected
  • experimental
  • itm_trace
4 results

Makefile

Blame
  • Makefile 411 B
    
    TARGETS = bare0 bare1 bare2 bare3 bare4 bare5 bare6
    DEV = target/thumbv7em-none-eabihf/debug/examples/
    REL = target/thumbv7em-none-eabihf/release/examples/
    ELFS = $(addprefix $(DEV), $(TARGETS))
    EELFS = $(addsuffix .elf, $(ELFS))
    
    ELFSR = $(addprefix $(REL), $(TARGETS))
    EELFSR = $(addsuffix .elf, $(ELFSR))
    .PHONY: all
    
    all: xargo $(EELFS) $(EELFSR) 
    	
    xargo:
    	xargo build --examples
    		
    %.elf : % 
    	cp $< $@