#************************************************************************* #ArmageTron - Just another Tron Lightcycle Game in 3D. #Copyright (C) 2000 Manuel Moos (manuel@moosnet.de) #************************************************************************** #This program is free software; you can redistribute it and/or #modify it under the terms of the GNU General Public License #as published by the Free Software Foundation; either version 2 #of the License, or (at your option) any later version. #This program is distributed in the hope that it will be useful, #but WITHOUT ANY WARRANTY; without even the implied warranty of #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #GNU General Public License for more details. #You should have received a copy of the GNU General Public License #along with this program; if not, write to the Free Software #Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #*************************************************************************** all: tools.a srcdir = @srcdir@ top_srcdir = @top_srcdir@ #include dep include ../../Makefile.global THISDIR=/src/tools #********************************************************* # * #********************************************************* LIBS=@LIBS@ #WARNING: Order of objects is important. nNetwork.o must be # last and tConfiguration.o,uInput.o,rTexture.o and have to stand behid # any object that uses them. # aallererstes.o must be last (the objects in there need to get # inizialized first) TOOLS= tCrypt.o tArray.o tError.o tConfiguration.o\ tHeap.o tString.o tConsole.o tMemStack.o\ tRing.o tCallback.o tEventQueue.o tLinkedList.o\ tToDo.o tSysTime.o tLocale.o\ tSafePTR.o tDirectories.o tMemManager.o tools.a: $(TOOLS) tools.so: $(TOOLS) $(CXX) $(TOOLS) -o tools.so -shared #-Wl,--rpath -Wl,./lib memtest: memtest.o tools.a $(CXX) $^ -o memtest $(LIBS) transfab: transfab.o $(CXX) $^ -o transfab # include dependencies @silent_inc@ $(TOOLS:.o=.cpp.dep) memtest.cpp.dep transfab.cpp.dep CLEANEXTRA=memtest tools.so