summaryrefslogtreecommitdiff
path: root/loragw_pkt_logger/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'loragw_pkt_logger/Makefile')
-rw-r--r--loragw_pkt_logger/Makefile40
1 files changed, 0 insertions, 40 deletions
diff --git a/loragw_pkt_logger/Makefile b/loragw_pkt_logger/Makefile
deleted file mode 100644
index 8946c5b..0000000
--- a/loragw_pkt_logger/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-### Application-specific constants
-
-APP_NAME=loragw_pkt_logger
-
-### constant symbols
-CROSS_COMPILE=
-CC=gcc
-CFLAGS=-O2 -Wall -Wextra -Iinc
-C99FLAGS=-O2 -Wall -Wextra -std=c99 -Iinc
-FLAG_AUX=
-
-### constants for Lora Gateway HAL library
-
-LGW_PATH=../libloragw
-LGW_INC=-I$(LGW_PATH)/inc
-
-LGW_LNK=-lloragw -lrt -lmpsse
-#LGW_LNK=-lloragw -lrt
-# add libmpsse or not, depending on what option you compiled the libloragw with
-
-### general build targets
-
-all: $(APP_NAME)
-
-clean:
- rm -f obj/*.o
- rm -f $(APP_NAME)
-
-### sub-modules compilation
-
-obj/parson.o: src/parson.c
- $(CROSS_COMPILE)$(CC) -c $(C99FLAGS) -o obj/parson.o $(LGW_INC) src/parson.c $(FLAG_AUX)
-
-### main program compilation and assembly
-
-obj/$(APP_NAME).o: src/$(APP_NAME).c
- $(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 obj/parson.o
- $(CROSS_COMPILE)$(CC) -o $(APP_NAME) obj/$(APP_NAME).o obj/parson.o -L$(LGW_PATH) $(LGW_LNK)