diff options
Diffstat (limited to 'loragw_tx_test')
-rw-r--r-- | loragw_tx_test/Makefile | 6 | ||||
-rw-r--r-- | loragw_tx_test/README (renamed from loragw_tx_test/README.TXT) | 0 |
2 files changed, 3 insertions, 3 deletions
diff --git a/loragw_tx_test/Makefile b/loragw_tx_test/Makefile index 8ece9b9..3de440b 100644 --- a/loragw_tx_test/Makefile +++ b/loragw_tx_test/Makefile @@ -3,7 +3,7 @@ APP_NAME=loragw_tx_test ### constant symbols - +CROSS_COMPILE= CC=gcc CFLAGS=-O2 -Wall -Wextra -Iinc C99FLAGS=-O2 -Wall -Wextra -std=c99 -Iinc @@ -29,7 +29,7 @@ clean: ### main program compilation and assembly obj/$(APP_NAME).o: src/$(APP_NAME).c - $(CC) -c $(C99FLAGS) -o obj/$(APP_NAME).o $(LGW_INC) src/$(APP_NAME).c $(FLAG_AUX) + $(CROSS_COMPILE)$(CC) -c $(C99FLAGS) -o obj/$(APP_NAME).o $(LGW_INC) src/$(APP_NAME).c $(FLAG_AUX) $(APP_NAME): $(LGW_PATH)/libloragw.a obj/$(APP_NAME).o - $(CC) -o $(APP_NAME) obj/$(APP_NAME).o -L$(LGW_PATH) $(LGW_LNK) + $(CROSS_COMPILE)$(CC) -o $(APP_NAME) obj/$(APP_NAME).o -L$(LGW_PATH) $(LGW_LNK) diff --git a/loragw_tx_test/README.TXT b/loragw_tx_test/README index 435b162..435b162 100644 --- a/loragw_tx_test/README.TXT +++ b/loragw_tx_test/README |