From 3fe0cf688e2dad0503dbb31dd43cfe3bd1fa6536 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Thu, 8 Jan 2009 03:50:16 +0000 Subject: Clean up tiles code to use the VertBuffer classes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8321 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/makefile_tiles.mgw | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/makefile_tiles.mgw') diff --git a/crawl-ref/source/makefile_tiles.mgw b/crawl-ref/source/makefile_tiles.mgw index fe86288b3a..b8cc376aed 100644 --- a/crawl-ref/source/makefile_tiles.mgw +++ b/crawl-ref/source/makefile_tiles.mgw @@ -249,6 +249,11 @@ profile: $(GAME_DEPENDS) $(OPATH)/%.o: %.cc $(TILEDEFHDRS) ${CXX} ${CFLAGS} -o $@ -c $< +# STL is bad in debug. Always compile this file with optimizations. +$(OPATH)/tilebuf.o: tilebuf.cc $(TILEDEFHDRS) + ${CXX} ${CFLAGS} -O2 -o $@ -c $< + + $(OPATH)/%.o: $(UTIL)%.cc $(TILEDEFHDRS) $(CXX) $(YCFLAGS) -o $@ -c $< -- cgit v1.2.3-54-g00ecf