Negatus/Makefile

39 строки
850 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/Config.cpp \
src/EventHandler.cpp \
src/Hash.cpp \
src/HeartbeatEventHandler.cpp \
2012-09-11 05:04:32 +04:00
src/Logger.cpp \
src/Logging.cpp \
src/PullFileEventHandler.cpp \
src/PushFileEventHandler.cpp \
src/Reactor.cpp \
src/Registration.cpp \
src/Shell.cpp \
src/SocketAcceptor.cpp \
src/Strings.cpp \
src/SUTAgent.cpp \
2012-09-11 20:28:57 +04:00
src/Subprocess.cpp \
src/SubprocessEventHandler.cpp \
src/Version.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