mirror of
https://github.com/g4klx/DAPNETGateway.git
synced 2026-08-26 12:32:45 -04:00
21 lines
514 B
Makefile
21 lines
514 B
Makefile
CC = cc
|
|
CXX = c++
|
|
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
|
|
LIBS = -lm -lpthread
|
|
LDFLAGS = -g
|
|
|
|
OBJECTS = Conf.o DAPNETGateway.o DAPNETNetwork.o Log.o POCSAGMessage.o POCSAGNetwork.o StopWatch.o TCPSocket.o Thread.o Timer.o UDPSocket.o Utils.o REGEX.o
|
|
|
|
all: DAPNETGateway
|
|
|
|
DAPNETGateway: $(OBJECTS)
|
|
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o DAPNETGateway
|
|
|
|
%.o: %.cpp
|
|
$(CXX) $(CFLAGS) -c -o $@ $<
|
|
|
|
install:
|
|
install -m 755 DAPNETGateway /usr/local/bin/
|
|
|
|
clean:
|
|
$(RM) DAPNETGateway *.o *.d *.bak *~
|