From 7055882c93022da3a6a1cf74cebf3d17c44ce6c4 Mon Sep 17 00:00:00 2001 From: oroborus Date: Mon, 12 May 2008 20:39:34 +0000 Subject: - 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 --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3