YSFClients/YSFReflector/Makefile

23 lines
492 B
Makefile
Raw Normal View History

2020-09-06 06:09:31 +02:00
CC = cc
CXX = c++
2020-09-06 09:58:29 +02:00
CFLAGS = -g -O3 -Wall -std=c++0x -pthread -DHAVE_LOG_H -DUDP_SOCKET_MAX=2
2016-10-18 12:14:54 +02:00
LIBS = -lpthread
LDFLAGS = -g
2021-02-13 14:24:27 +01:00
OBJECTS = BlockList.o Conf.o Log.o Network.o StopWatch.o Thread.o Timer.o UDPSocket.o Utils.o YSFReflector.o
all: YSFReflector
YSFReflector: $(OBJECTS)
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o YSFReflector
%.o: %.cpp
$(CXX) $(CFLAGS) -c -o $@ $<
2020-06-25 11:12:38 +02:00
install:
install -m 755 YSFReflector /usr/local/bin/
clean:
$(RM) YSFReflector *.o *.d *.bak *~
2016-10-18 12:14:54 +02:00