summaryrefslogtreecommitdiff
path: root/src/megametrum-v0.1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/megametrum-v0.1/Makefile')
-rw-r--r--src/megametrum-v0.1/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/megametrum-v0.1/Makefile b/src/megametrum-v0.1/Makefile
index 13e46c97..59cfb64d 100644
--- a/src/megametrum-v0.1/Makefile
+++ b/src/megametrum-v0.1/Makefile
@@ -82,7 +82,8 @@ IDPRODUCT=0x0023
CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) -Os -g
-PROG=megametrum-v0.1-$(VERSION).elf
+PROGNAME=megametrum-v0.1
+PROG=$(PROGNAME)-$(VERSION).elf
SRC=$(ALTOS_SRC) ao_megametrum.c
OBJ=$(SRC:.c=.o)
@@ -103,7 +104,7 @@ ao_product.h: ao-make-product.5c ../Version
distclean: clean
clean:
- rm -f $(OBJ)
+ rm -f *.o $(PROGNAME)-*.elf
rm -f ao_product.h
install: