YSFClients/YSFGateway/Makefile

19 lines
362 B
Makefile
Raw Normal View History

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
LIBS = -lpthread
2016-05-27 18:55:44 +02:00
LDFLAGS = -g
OBJECTS = Network.o StopWatch.o Timer.o UDPSocket.o Utils.o YSFReflector.o
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