From 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:41 +0200 Subject: tagging tags --- ychat-0.7.2/src/mods/commands/Makefile.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 ychat-0.7.2/src/mods/commands/Makefile.in (limited to 'ychat-0.7.2/src/mods/commands/Makefile.in') diff --git a/ychat-0.7.2/src/mods/commands/Makefile.in b/ychat-0.7.2/src/mods/commands/Makefile.in new file mode 100755 index 0000000..ce8c00f --- /dev/null +++ b/ychat-0.7.2/src/mods/commands/Makefile.in @@ -0,0 +1,18 @@ +MODS=$(addprefix ../../../mods/commands/, $(SRCS:.cpp=.so)) +CC=COMPILER +INCLUDES=`cat ../../includes.add` +CFLAGS=`cat ../cflags.add` +all: mods +$(MODS): + @echo -n "Compiling command module `basename $@` " + @if ! test -d `dirname $@`; then mkdir -p `dirname $@`; fi + @$(CC) $(CFLAGS) $(INCLUDES) -shared -s -o $@ `echo $(notdir $@) | sed s/.so/.cpp/` + @du -hc $@ | tail -n 1 | sed s/total// | sed "s/ //g" +infotext: + @echo Compiling command modules +mods: infotext $(MODS) + @echo "Num of command modules: " + @ls ../../../mods/commands/*.so | wc -l +clean: + @echo Cleaning command modules + @if test -d ../../../mods/commands; then rm -Rf ../../../mods/commands; fi -- cgit v1.2.3