diff options
author | David Phillips <david@yeah.nah.nz> | 2021-02-27 23:24:07 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2021-02-27 23:24:07 +1300 |
commit | 4118386ca9a4cb717f0d79f636586f0151d3e985 (patch) | |
tree | 2b9028f989808e438a66eb63baafd1c0dae8867d | |
parent | 24aebac344e8fc672a93d921d492d61482e8c3ca (diff) | |
download | altimeter-4118386ca9a4cb717f0d79f636586f0151d3e985.tar.xz |
Make `make size` depend on the ELF it measures
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -95,8 +95,8 @@ build/native/unity-test-runner/test_runner: $(TEST_OBJ) $(REAL_ELF): $(REAL_OBJ) $(AVR_CC) $(AVR_LDFLAGS) -o $@ $^ -size: - [ -f "$(REAL_ELF)" ] && $(AVR_SIZE) -C --mcu="$(MCU)" "$(REAL_ELF)" +size: $(REAL_ELF) + $(AVR_SIZE) -C --mcu="$(MCU)" "$(REAL_ELF)" # ELF for simulator/emu. Note that whever I/O is required, the *_sim.{o,c} # versions of each component will provide a mocked interface. This allows for |