Do not hardcode CC/CXX/CFLAGS/LDFLAGS

This commit is contained in:
Stefan Saraev 2018-11-28 11:27:31 +02:00
parent 93b3548374
commit 9a3fd206f7
6 changed files with 24 additions and 24 deletions

View File

@ -1,8 +1,8 @@
CC = gcc
CXX = g++
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
CC ?= gcc
CXX ?= g++
CFLAGS ?= -g -O3 -Wall -std=c++0x -pthread
LIBS = -lm -lpthread
LDFLAGS = -g
LDFLAGS ?= -g
OBJECTS = BPTC19696.o Conf.o CRC.o DMRData.o DMREMB.o DMREmbeddedData.o \
DMRFullLC.o DMRLC.o DMRLookup.o DMR2NXDN.o DMRSlotType.o Golay2087.o \

View File

@ -1,8 +1,8 @@
CC = gcc
CXX = g++
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
CC ?= gcc
CXX ?= g++
CFLAGS ?= -g -O3 -Wall -std=c++0x -pthread
LIBS = -lm -lpthread
LDFLAGS = -g
LDFLAGS ?= -g
OBJECTS = BPTC19696.o Conf.o CRC.o DelayBuffer.cpp DMRLookup.o DMREMB.o DMREmbeddedData.o \
DMR2YSF.o DMRFullLC.o MMDVMNetwork.o DMRLC.o DMRSlotType.o DMRData.o Golay2087.o \

View File

@ -1,8 +1,8 @@
CC = gcc
CXX = g++
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
CC ?= gcc
CXX ?= g++
CFLAGS ?= -g -O3 -Wall -std=c++0x -pthread
LIBS = -lm -lpthread
LDFLAGS = -g
LDFLAGS ?= -g
OBJECTS = BPTC19696.o Conf.o CRC.o DelayBuffer.cpp DMRData.o DMREMB.o DMREmbeddedData.o \
DMRFullLC.o DMRLC.o DMRLookup.o DMRNetwork.o DMRSlotType.o Golay2087.o \

View File

@ -1,8 +1,8 @@
CC = gcc
CXX = g++
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
CC ?= gcc
CXX ?= g++
CFLAGS ?= -g -O3 -Wall -std=c++0x -pthread
LIBS = -lm -lpthread
LDFLAGS = -g
LDFLAGS ?= -g
OBJECTS = BPTC19696.o Conf.o GPS.o TCPSocket.o DTMF.o APRSWriter.o APRSWriterThread.o CRC.o \
DelayBuffer.cpp DMRLookup.o DMREMB.o DMREmbeddedData.o APRSReader.o \

View File

@ -1,8 +1,8 @@
CC = gcc
CXX = g++
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
CC ?= gcc
CXX ?= g++
CFLAGS ?= -g -O3 -Wall -std=c++0x -pthread
LIBS = -lm -lpthread
LDFLAGS = -g
LDFLAGS ?= -g
OBJECTS = APRSReader.o APRSWriter.o APRSWriterThread.o Conf.o CRC.o DTMF.o Golay24128.o \
GPS.o Log.o ModeConv.o Mutex.o NXDNConvolution.o NXDNCRC.o NXDNLayer3.o NXDNLICH.o \

View File

@ -1,8 +1,8 @@
CC = gcc
CXX = g++
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
CC ?= gcc
CXX ?= g++
CFLAGS ?= -g -O3 -Wall -std=c++0x -pthread
LIBS = -lm -lpthread
LDFLAGS = -g
LDFLAGS ?= -g
OBJECTS = Conf.o CRC.o DMRLookup.o DTMF.o Golay24128.o Hamming.o Log.o ModeConv.o Mutex.o \
P25Network.o StopWatch.o Sync.o Thread.o Timer.o UDPSocket.o Utils.o WiresX.o \