diff options
| author | Keith Packard <keithp@keithp.com> | 2019-02-18 12:59:05 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2019-02-18 13:08:23 -0800 |
| commit | 7a89aa1ea7e1b02b5cd310986adf4239ec0ce91d (patch) | |
| tree | 74e5fe54f95ab21e513a1c9a14b8a02c1c8cffea /src/easymini-v2.0/Makefile | |
| parent | 889518aeee080b0f8bb954db86d08105898d8161 (diff) | |
altos: Move common build definitions to src/Makefile.defs
This cleans up the build process for all architectures, providing a
common place to specify vpath, cflags and build rules for various
common files.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/easymini-v2.0/Makefile')
| -rw-r--r-- | src/easymini-v2.0/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/easymini-v2.0/Makefile b/src/easymini-v2.0/Makefile index 9b4cc6d7..2f790244 100644 --- a/src/easymini-v2.0/Makefile +++ b/src/easymini-v2.0/Makefile @@ -53,7 +53,7 @@ PRODUCT=EasyMini-v2.0 PRODUCT_DEF=-DEASYMINI_V_2_0 IDPRODUCT=0x0026 -CFLAGS = $(PRODUCT_DEF) $(STMF0_CFLAGS) -g -Os +CFLAGS = $(PRODUCT_DEF) $(STMF0_CFLAGS) PROGNAME=easymini-v2.0 PROG=$(PROGNAME)-$(VERSION).elf @@ -65,10 +65,7 @@ OBJ=$(SRC:.c=.o) all: $(PROG) $(HEX) $(PROG): Makefile $(OBJ) - $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS) - -ao_product.h: ao-make-product.5c ../Version - $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@ + $(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS) $(OBJ): $(INC) |
