Negatus/Makefile

31 строка
663 B
Makefile
Исходник Обычный вид История

2012-08-09 04:18:45 +04:00
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
2012-08-14 08:54:18 +04:00
SRCS=\
src/Buffer.cpp \
src/BufferedSocket.cpp \
src/CommandEventHandler.cpp \
src/Hash.cpp \
src/Logging.cpp \
src/PullFileEventHandler.cpp \
src/PushFileEventHandler.cpp \
src/Reactor.cpp \
src/SocketAcceptor.cpp \
src/Strings.cpp \
src/SUTAgent.cpp \
src/Subprocess.cpp
2012-08-14 08:54:18 +04:00
OBJS=$(subst .cpp,.o,$(SRCS))
all: agent
agent: $(OBJS)
$(LD) -o agent $(OBJS) $(LDFLAGS) $(LDLIBS)
2012-08-14 08:54:18 +04:00
%.o: %.c
2012-08-14 08:54:18 +04:00
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
clean:
2012-08-21 00:43:26 +04:00
rm -f src/*.o agent