summaryrefslogtreecommitdiff
path: root/src/telemega-v0.1
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/telemega-v0.1
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/telemega-v0.1')
-rw-r--r--src/telemega-v0.1/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/telemega-v0.1/Makefile b/src/telemega-v0.1/Makefile
index 7acaedd2..0166ebc9 100644
--- a/src/telemega-v0.1/Makefile
+++ b/src/telemega-v0.1/Makefile
@@ -122,11 +122,12 @@ CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STA
PROGNAME=telemega-v0.1
PROG=$(PROGNAME)-$(VERSION).elf
+HEX=$(PROGNAME)-$(VERSION).ihx
SRC=$(ALTOS_SRC) ao_telemega.c
OBJ=$(SRC:.c=.o)
-all: $(PROG)
+all: $(PROG) $(HEX)
$(PROG): Makefile $(OBJ) altos.ld
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)