2016-08-08 19:26:44 +02:00
|
|
|
CC = gcc
|
|
|
|
CXX = g++
|
2016-10-18 12:13:41 +02:00
|
|
|
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
|
|
|
|
LIBS = -lsocket -lpthread
|
2016-08-08 19:26:44 +02:00
|
|
|
LDFLAGS = -g
|
|
|
|
|
2018-01-29 23:07:08 +01:00
|
|
|
OBJECTS = Network.o Parrot.o StopWatch.o Thread.o Timer.o UDPSocket.o YSFParrot.o
|
2016-08-08 19:26:44 +02:00
|
|
|
|
|
|
|
all: YSFParrot
|
|
|
|
|
|
|
|
YSFParrot: $(OBJECTS)
|
|
|
|
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o YSFParrot
|
|
|
|
|
|
|
|
%.o: %.cpp
|
|
|
|
$(CXX) $(CFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) YSFParrot *.o *.d *.bak *~
|
2016-10-18 12:13:41 +02:00
|
|
|
|