diff options
Diffstat (limited to 'util_band_survey/Makefile')
-rw-r--r-- | util_band_survey/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/util_band_survey/Makefile b/util_band_survey/Makefile index 4597ad4..4371fc0 100644 --- a/util_band_survey/Makefile +++ b/util_band_survey/Makefile @@ -43,10 +43,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 |