mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Makefile.Pi.OLED revised
- use system default compiler (cc/c++) instead of gcc/g++ - no need to link wiringPi library, remove -lwiringPi
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
# This makefile is for use with the Raspberry Pi when using an OLED display. The wiringpi library is needed.
|
# This makefile is for use with the Raspberry Pi when using an OLED display. The wiringpi library is not needed.
|
||||||
|
|
||||||
CC = gcc
|
CC = cc
|
||||||
CXX = g++
|
CXX = c++
|
||||||
|
|
||||||
# Use the following CFLAGS and LIBS if you don't want to use gpsd.
|
# Use the following CFLAGS and LIBS if you don't want to use gpsd.
|
||||||
CFLAGS = -g -O3 -Wall -std=c++0x -pthread -DOLED -I/usr/local/include
|
CFLAGS = -g -O3 -Wall -std=c++0x -pthread -DOLED -I/usr/local/include
|
||||||
LIBS = -lArduiPi_OLED -lwiringPi -lpthread
|
LIBS = -lArduiPi_OLED -lpthread
|
||||||
|
|
||||||
# Use the following CFLAGS and LIBS if you do want to use gpsd.
|
# Use the following CFLAGS and LIBS if you do want to use gpsd.
|
||||||
#CFLAGS = -g -O3 -Wall -DUSE_GPSD -std=c++0x -pthread -DOLED -I/usr/local/include
|
#CFLAGS = -g -O3 -Wall -DUSE_GPSD -std=c++0x -pthread -DOLED -I/usr/local/include
|
||||||
#LIBS = -lArduiPi_OLED -lwiringPi -lpthread -lgps
|
#LIBS = -lArduiPi_OLED -lpthread -lgps
|
||||||
|
|
||||||
LDFLAGS = -g -L/usr/local/lib
|
LDFLAGS = -g -L/usr/local/lib
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user