summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commitb3a99e6e15af3be25394e66d1138bb2682f565c3 (patch)
tree0206b0018cd075cc8b0d8d4f34a1d27c38598f36 /src/Makefile
parent5b7605790328c6c0f473296df444d0f4a79ac779 (diff)
tagging ychat-0.5.5ychat-0.5.5
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..7164d56
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,18 @@
+# Generated automatically from Makefile.in by configure.
+SRCS=chat.cpp s_chat.cpp conf.cpp s_conf.cpp cont.cpp html.cpp s_html.cpp lang.cpp s_lang.cpp main.cpp mutx.cpp s_mutx.cpp name.cpp pool.cpp reqp.cpp room.cpp sock.cpp s_sock.cpp thrd.cpp s_tool.cpp user.cpp sess.cpp sman.cpp s_sman.cpp
+#logd.cpp modl.cpp s_modl.cpp cmnd.cpp
+OBJS=$(SRCS:.cpp=.o)
+CC=g++
+LDFLAGS= -lstdc++ -g
+LDADD=-pthread -D_THREAD_SAFE
+all: ychat
+$(SRCS):
+ $(CC) $(CFLAGS) -c $*.cpp
+ychat: $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDADD)
+ @mv -f ychat ..
+mrproper: clean
+ @rm -f Makefile config.log config.cache config.status
+ rm -f ../ychat
+clean:
+ rm *.o