Pārlūkot izejas kodu

Updated makefile.

Branimir Karadžić 11 gadi atpakaļ
vecāks
revīzija
dd52c8555b
2 mainītis faili ar 20 papildinājumiem un 6 dzēšanām
  1. 2 0
      3rdparty/ib-compress/indexbuffercompression.cpp
  2. 18 6
      makefile

+ 2 - 0
3rdparty/ib-compress/indexbuffercompression.cpp

@@ -524,6 +524,8 @@ void CompressTriangleCodes1( const Ty* triangles,
 				verticesRead += 3;
 				break;
 			}
+
+			default: break;
 			}
 
 			// populate the edge fifo with the 3 most recent edges

+ 18 - 6
makefile

@@ -82,16 +82,28 @@ linux-release64: .build/projects/gmake-linux
 linux: linux-debug32 linux-release32 linux-debug64 linux-release64
 
 .build/projects/gmake-mingw-gcc:
-	$(GENIE) --with-tools --with-shared-lib --gcc=mingw-gcc gmake
-mingw-debug32: .build/projects/gmake-mingw-gcc
+	$(GENIE) --gcc=mingw-gcc gmake
+mingw-gcc-debug32: .build/projects/gmake-mingw-gcc
 	make -R -C .build/projects/gmake-mingw-gcc config=debug32
-mingw-release32: .build/projects/gmake-mingw-gcc
+mingw-gcc-release32: .build/projects/gmake-mingw-gcc
 	make -R -C .build/projects/gmake-mingw-gcc config=release32
-mingw-debug64: .build/projects/gmake-mingw-gcc
+mingw-gcc-debug64: .build/projects/gmake-mingw-gcc
 	make -R -C .build/projects/gmake-mingw-gcc config=debug64
-mingw-release64: .build/projects/gmake-mingw-gcc
+mingw-gcc-release64: .build/projects/gmake-mingw-gcc
 	make -R -C .build/projects/gmake-mingw-gcc config=release64
-mingw: mingw-debug32 mingw-release32 mingw-debug64 mingw-release64
+mingw-gcc: mingw-gcc-debug32 mingw-gcc-release32 mingw-gcc-debug64 mingw-gcc-release64
+
+.build/projects/gmake-mingw-clang:
+	$(GENIE) --clang=mingw-clang gmake
+mingw-clang-debug32: .build/projects/gmake-mingw-clang
+	make -R -C .build/projects/gmake-mingw-clang config=debug32
+mingw-clang-release32: .build/projects/gmake-mingw-clang
+	make -R -C .build/projects/gmake-mingw-clang config=release32
+mingw-clang-debug64: .build/projects/gmake-mingw-clang
+	make -R -C .build/projects/gmake-mingw-clang config=debug64
+mingw-clang-release64: .build/projects/gmake-mingw-clang
+	make -R -C .build/projects/gmake-mingw-clang config=release64
+mingw-clang: mingw-clang-debug32 mingw-clang-release32 mingw-clang-debug64 mingw-clang-release64
 
 .build/projects/vs2008:
 	$(GENIE) --with-tools --with-shared-lib vs2008