diff options
Diffstat (limited to 'util_tx_test/Makefile')
-rw-r--r-- | util_tx_test/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/util_tx_test/Makefile b/util_tx_test/Makefile index 2c457e7..f1b50a8 100644 --- a/util_tx_test/Makefile +++ b/util_tx_test/Makefile @@ -42,10 +42,17 @@ clean: rm -f obj/*.o rm -f $(APP_NAME) -### HAL library +### HAL library (do no force multiple library rebuild even with 'make -B') + +$(LGW_PATH)/inc/config.h: + @if test ! -f $@; then \ + $(MAKE) all -C $(LGW_PATH); \ + fi $(LGW_PATH)/libloragw.a: $(LGW_INC) - $(MAKE) all -C $(LGW_PATH) + @if test ! -f $@; then \ + $(MAKE) all -C $(LGW_PATH); \ + fi ### Main program compilation and assembly |