summaryrefslogtreecommitdiff
path: root/src/telemetrum-v2.0
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-08 11:14:29 -0800
committerKeith Packard <keithp@keithp.com>2013-12-08 11:14:29 -0800
commit52b19511222980138faddb2047707baceff0a596 (patch)
tree82243836e6dc51e4feeff7301f0f98288172a861 /src/telemetrum-v2.0
parenta1e4750a7d4af72e8e9086735885f48c9b56c18e (diff)
altos: Build .ihx files for all arm projects
The .ihx version can be processed by the java loader Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telemetrum-v2.0')
-rw-r--r--src/telemetrum-v2.0/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/telemetrum-v2.0/Makefile b/src/telemetrum-v2.0/Makefile
index a5370224..16408b03 100644
--- a/src/telemetrum-v2.0/Makefile
+++ b/src/telemetrum-v2.0/Makefile
@@ -95,11 +95,12 @@ CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STA
PROGNAME=telemetrum-v2.0
PROG=$(PROGNAME)-$(VERSION).elf
+HEX=$(PROGNAME)-$(VERSION).ihx
SRC=$(ALTOS_SRC) ao_telemetrum.c
OBJ=$(SRC:.c=.o)
-all: $(PROG)
+all: $(PROG) $(HEX)
$(PROG): Makefile $(OBJ) altos.ld
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)