diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,3 +1 @@ -*.hex -*.o -*.elf +build @@ -77,9 +77,11 @@ SIM_OBJ = \ ALL_OBJ = $(TEST_OBJ) $(REAL_OBJ) $(SIM_OBJ) ALL_SOURCE = $(ALL_OBJ:.o=.c) -test: $(TEST_OBJ) +test: build/native/test_runner + ./$^ + +build/native/test_runner: $(TEST_OBJ) $(CC) $(LDFLAGS) -Wl,-T,linker_list.lds -o $@ $^ - ./$@ # ELF for real hardware. No mock/sim hardware included (except barometer, # haven't written that code yet) |