Blame view

Makefile 339 Bytes
73408d11   Thomas Telkamp   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  # single_chan_pkt_fwd
  # Single Channel LoRaWAN Gateway
  
  CC=g++
  CFLAGS=-c -Wall
  LIBS=-lwiringPi
  
  all: single_chan_pkt_fwd
  
  single_chan_pkt_fwd: base64.o main.o
  	$(CC) main.o base64.o $(LIBS) -o single_chan_pkt_fwd
  
  main.o: main.cpp
  	$(CC) $(CFLAGS) main.cpp
  
  base64.o: base64.c
  	$(CC) $(CFLAGS) base64.c
  
  clean:
  	rm *.o single_chan_pkt_fwd