summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
commitd34015c5ba231b95de20e9fcd7a33c5b2b9a1006 (patch)
treeceac33bd27e3b1158a0ac4e17f7fd7e5e6473fea /Makefile
parentc507ce3198ea4d822832cc8740f0128df8873c02 (diff)
tagging ychat-0.5.3ychat-0.5.3
Diffstat (limited to 'Makefile')
-rwxr-xr-x[-rw-r--r--]Makefile36
1 files changed, 23 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index d3eaf7a..3bed77d 100644..100755
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,23 @@
-# Generated automatically from Makefile.in by configure.
-SRCS=base.cpp chat.cpp s_chat.cpp cmnd.cpp conf.cpp s_conf.cpp cont.cpp html.cpp s_html.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
-OBJS=$(SRCS:.cpp=.o)
-CC=g++
-LDFLAGS=-ldl -lstdc++ -g
-LDADD=-pthread -D_THREAD_SAFE
-all: ychat
-$(SRCS):
- $(CC) $(CFLAGS) -c $*.cpp
-ychat: $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDADD)
-clean:
- rm *.o
+MAKE=gmake
+all: base
+ @echo "Now edit the ./conf.txt file and run ./ychat!"
+ @echo WARNING! This software is EXPERIMENTAL!
+install: deinstall
+uninstall: deinstall
+deinstall:
+ @echo Install/deinstall is not supported!
+ @echo Start yChat with ./ychat instead!
+ @exit 1
+base:
+ @${MAKE} -C ./src
+clean_base:
+ @${MAKE} -C ./src clean
+stats:
+ @perl scripts/stats.pl
+run:
+ ./ychat
+gpl:
+ @more COPYING
+clean: clean_base
+debug:
+ @gdb ./ychat ychat.core