mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
Makefile.include: add targets to get .elf/.bin/.hex
This commit is contained in:
parent
70c5079b16
commit
ae5e883bca
@ -308,7 +308,7 @@ BASELIBS += $(BINDIR)/$(APPLICATION_MODULE).a
|
||||
BASELIBS += $(APPDEPS)
|
||||
|
||||
.PHONY: all link clean flash flash-only term doc debug debug-server reset objdump help info-modules
|
||||
.PHONY: print-size
|
||||
.PHONY: print-size elffile binfile hexfile
|
||||
.PHONY: ..in-docker-container
|
||||
# Target can depend on FORCE to always rebuild but still let make use file
|
||||
# modification timestamp (contrary to .PHONY).
|
||||
@ -319,6 +319,11 @@ ELFFILE ?= $(BINDIR)/$(APPLICATION).elf
|
||||
HEXFILE ?= $(ELFFILE:.elf=.hex)
|
||||
BINFILE ?= $(ELFFILE:.elf=.bin)
|
||||
|
||||
# Targets to get given file
|
||||
elffile: $(ELFFILE)
|
||||
hexfile: $(HEXFILE)
|
||||
binfile: $(BINFILE)
|
||||
|
||||
# variables used to compile and link c++
|
||||
CPPMIX ?= $(if $(wildcard *.cpp),1,)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user