Explorar o código

makefile for tests

Sean Barrett %!s(int64=8) %!d(string=hai) anos
pai
achega
fc5668cdac
Modificáronse 2 ficheiros con 13 adicións e 0 borrados
  1. 6 0
      .travis.yml
  2. 7 0
      tests/Makefile

+ 6 - 0
.travis.yml

@@ -0,0 +1,6 @@
+language: C
+install: true
+script:
+  - cd tests
+  - make 32
+  - make 64

+ 7 - 0
tests/Makefile

@@ -0,0 +1,7 @@
+32:
+	$CC -m32 stb_vorbis.c test_c_compilation.c
+	$CC -m32 stb_vorbis.c test_cpp_compilation.cpp
+
+64:
+	$CC -m64 stb_vorbis.c test_c_compilation.c
+	$CC -m64 stb_vorbis.c test_cpp_compilation.cpp