reactos/irc/ArchBlackmann/makefile
Royce Mitchell III 07435bc9ca mingw makefile + more mingw compatibility fixes
svn path=/trunk/; revision=17445
2005-08-19 21:53:40 +00:00

32 lines
510 B
Makefile

TARGET := ArchBlackmann.exe
.PHONY: all
all: $(TARGET)
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)
g++ $(LFLAGS) -o $@ $(OBJS) $(LIBS)
.cpp.o: $<
g++ $(CFLAGS) -c $< -o $@