2016-05-27 18:55:44 +02:00
|
|
|
CC = gcc
|
|
|
|
CXX = g++
|
2016-06-06 20:29:23 +02:00
|
|
|
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
|
2016-06-14 07:36:40 +02:00
|
|
|
LIBS = -lm -lpthread
|
2016-05-27 18:55:44 +02:00
|
|
|
LDFLAGS = -g
|
|
|
|
|
2017-08-15 21:30:02 +02:00
|
|
|
OBJECTS = APRSWriterThread.o APRSWriter.o Conf.o CRC.o DTMF.o Golay24128.o GPS.o Log.o Network.o Reflectors.o StopWatch.o Sync.o TCPSocket.o Thread.o Timer.o \
|
2016-06-12 12:52:02 +02:00
|
|
|
UDPSocket.o Utils.o WiresX.o YSFConvolution.o YSFFICH.o YSFGateway.o YSFPayload.o
|
2016-05-27 18:55:44 +02:00
|
|
|
|
2016-06-06 20:29:23 +02:00
|
|
|
all: YSFGateway
|
2016-05-27 18:55:44 +02:00
|
|
|
|
2016-06-06 20:29:23 +02:00
|
|
|
YSFGateway: $(OBJECTS)
|
|
|
|
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o YSFGateway
|
2016-05-27 18:55:44 +02:00
|
|
|
|
|
|
|
%.o: %.cpp
|
|
|
|
$(CXX) $(CFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
clean:
|
2016-06-06 20:29:23 +02:00
|
|
|
$(RM) YSFGateway *.o *.d *.bak *~
|
2016-05-27 18:55:44 +02:00
|
|
|
|