mirror of
https://github.com/g4klx/DAPNETGateway.git
synced 2026-08-26 12:32:45 -04:00
18 lines
450 B
Makefile
18 lines
450 B
Makefile
CC = gcc
|
|
CXX = g++
|
|
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
|
|
|
|
all: DAPNETGateway
|
|
|
|
DAPNETGateway: $(OBJECTS)
|
|
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o DAPNETGateway
|
|
|
|
%.o: %.cpp
|
|
$(CXX) $(CFLAGS) -c -o $@ $<
|
|
|
|
clean:
|
|
$(RM) DAPNETGateway *.o *.d *.bak *~
|