[HEADERS]
[reactos.git] / irc / ArchBlackmann / makefile
1 TARGET := ArchBlackmann.exe
2
3 .PHONY: all
4
5 all: $(TARGET)
6
7 CPP=mingw32-g++
8 CFLAGS := -DWIN32 -D_DEBUG -D_CONSOLE -D_MBCS
9 LFLAGS :=
10 LIBS := -lstdc++ -lws2_32
11
12 SRCS := ArchBlackmann.cpp \
13 base64.cpp \
14 chomp.cpp \
15 cram_md5.cpp \
16 File.cpp \
17 IRCClient.cpp \
18 MD5.cpp \
19 panic.cpp \
20 ReliMT.cpp \
21 SockUtils.cpp \
22 SplitJoin.cpp \
23 ssprintf.cpp \
24 ThreadPool.cpp \
25 trim.cpp
26
27 OBJS := $(SRCS:.cpp=.o)
28
29 $(TARGET): $(OBJS)
30 $(CPP) $(LFLAGS) -o $@ $(OBJS) $(LIBS)
31
32 .cpp.o: $<
33 $(CPP) $(CFLAGS) -c $< -o $@
34
35 .PHONY: clean
36 clean:
37 -@del $(TARGET)
38 -@del $(OBJS)