2005-08-19 21:53:40 +00:00
|
|
|
TARGET := ArchBlackmann.exe
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
2005-08-19 21:56:14 +00:00
|
|
|
CPP=mingw32-g++
|
2005-08-19 21:53:40 +00:00
|
|
|
CFLAGS := -DWIN32 -D_DEBUG -D_CONSOLE -D_MBCS
|
|
|
|
LFLAGS :=
|
|
|
|
LIBS := -lstdc++ -lws2_32
|
|
|
|
|
|
|
|
SRCS := ArchBlackmann.cpp \
|
|
|
|
base64.cpp \
|
|
|
|
chomp.cpp \
|
|
|
|
cram_md5.cpp \
|
|
|
|
File.cpp \
|
|
|
|
IRCClient.cpp \
|
|
|
|
MD5.cpp \
|
|
|
|
panic.cpp \
|
|
|
|
ReliMT.cpp \
|
|
|
|
SockUtils.cpp \
|
|
|
|
SplitJoin.cpp \
|
|
|
|
ssprintf.cpp \
|
|
|
|
ThreadPool.cpp \
|
|
|
|
trim.cpp
|
|
|
|
|
|
|
|
OBJS := $(SRCS:.cpp=.o)
|
|
|
|
|
|
|
|
$(TARGET): $(OBJS)
|
2005-08-19 21:56:14 +00:00
|
|
|
$(CPP) $(LFLAGS) -o $@ $(OBJS) $(LIBS)
|
2005-08-19 21:53:40 +00:00
|
|
|
|
|
|
|
.cpp.o: $<
|
2005-08-19 21:56:14 +00:00
|
|
|
$(CPP) $(CFLAGS) -c $< -o $@
|