a4f26594f0
* Replace Buffer::isEof with Buffer::eof so I can use the agent-specific ASSERT macro instead of the standard assert(). * If an API call in Win32Console fails, print a message using Trace. * Add Coord::toString and SmallRect::toString functions.
38 lines
550 B
Makefile
38 lines
550 B
Makefile
include ../config.mk
|
|
include ../config-mingw.mk
|
|
|
|
PROGRAM = pconsole-agent
|
|
|
|
OBJECTS = \
|
|
EventLoop.o \
|
|
NamedPipe.o \
|
|
Agent.o \
|
|
AgentAssert.o \
|
|
Terminal.o \
|
|
Win32Console.o \
|
|
AgentDebugClient.o \
|
|
Coord.o \
|
|
SmallRect.o \
|
|
main.o
|
|
|
|
CXXFLAGS += \
|
|
-DUNICODE \
|
|
-D_UNICODE \
|
|
-D_WIN32_WINNT=0x0501 \
|
|
-fno-exceptions \
|
|
-fno-rtti
|
|
|
|
LDFLAGS += -static-libgcc -static-libstdc++
|
|
|
|
all : $(PROGRAM)
|
|
|
|
$(PROGRAM) : $(OBJECTS)
|
|
@echo Linking $@
|
|
@$(CXX) -o $@ $^ $(LDFLAGS)
|
|
|
|
.PHONY : clean
|
|
clean:
|
|
rm -f $(PROGRAM) *.o *.d moc_*.cc
|
|
|
|
-include $(OBJECTS:.o=.d)
|