summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-12 20:39:34 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-12 20:39:34 +0000
commit7055882c93022da3a6a1cf74cebf3d17c44ce6c4 (patch)
treebacb905bbfb33a5ee5a203c4e327495fcbd85ef7 /Makefile
parent46958f55432bcbb6f4e90f4dd937d8de355e5785 (diff)
- podpora modulov
- hra sa musi kompilovat s GUI ako v config.h _zakomenotvane_ #define PUBLIC_SERVER make clean make make mod su make install - hra sa musi ako server kompilovat v config.h _odkomentovane__ #define PUBLIC_SERVER make clean make make mod - pozor, urcite tam je este vela bugov //je to nedoladene zatial to ani nedavajte na server git-svn-id: http://opensvn.csie.org/tuxanci_ng@52 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 95c28f3..e343db3 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ all:
clean:
make -C ./src clean
make -C ./src -f Makefile-publicServer clean
+ make -C ./modules -f Makefile clean
run:
./tuxanci-ng.sh
@@ -49,9 +50,13 @@ server:
nosound:
make -C ./src -f Makefile-nosound
+mod:
+ make -C ./modules -f Makefile modTeleport
+ make -C ./modules -f Makefile modPipe
+
install:
mkdir -p $(DESTDIR)/bin
- mkdir -p $(DESTDIR)/share/tuxanci-ng/{arena,data,font,image,lang,music,sound,conf}
+ mkdir -p $(DESTDIR)/share/tuxanci-ng/{arena,data,font,image,lang,music,sound,conf,modules}
cp ./src/tuxanci-ng $(DESTDIR)/bin/
cp -rf ./arena/* $(DESTDIR)/share/tuxanci-ng/arena/
@@ -62,6 +67,7 @@ install:
cp -rf ./sound/* $(DESTDIR)/share/tuxanci-ng/sound/
cp -rf ./data/* $(DESTDIR)/share/tuxanci-ng/data/
cp -rf ./conf/* $(DESTDIR)/share/tuxanci-ng/conf/
+ cp -rf ./modules/*.so $(DESTDIR)/share/tuxanci-ng/modules/
uninstall:
rm -rf $(DESTDIR)/{bin,share}/tuxanci-ng