diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-08 03:50:16 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-08 03:50:16 +0000 |
commit | 3fe0cf688e2dad0503dbb31dd43cfe3bd1fa6536 (patch) | |
tree | ea81fae6b4ff16c40bfb2acac9eb85433fb80d9a /crawl-ref/source/makefile_tiles.mgw | |
parent | bac007c9138e659d34646952fb98afc056ec279c (diff) | |
download | crawl-ref-3fe0cf688e2dad0503dbb31dd43cfe3bd1fa6536.tar.gz crawl-ref-3fe0cf688e2dad0503dbb31dd43cfe3bd1fa6536.zip |
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
Diffstat (limited to 'crawl-ref/source/makefile_tiles.mgw')
-rw-r--r-- | crawl-ref/source/makefile_tiles.mgw | 5 |
1 files changed, 5 insertions, 0 deletions
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 $< |