This commit is contained in:
Sean Barrett 2017-01-16 01:36:58 -08:00
parent cf6d17cd74
commit a235b6cd44
2 changed files with 5 additions and 5 deletions

View File

@ -2,5 +2,4 @@ language: C
install: true install: true
script: script:
- cd tests - cd tests
- make 32
- make 64 - make 64

View File

@ -1,9 +1,10 @@
INCLUDE = -I.. INCLUDE = -I..
DEFINES = -DSTB_C_LEXER_SELF_TEST
32: 32:
$(CC) -m32 $(INCLUDE) ../stb_vorbis.c test_c_compilation.c -lm $(CC) -m32 $(INCLUDE) $(DEFINES) ../stb_vorbis.c test_c_compilation.c ../stb.c -lm
$(CC) -m32 $(INCLUDE) ../stb_vorbis.c test_cpp_compilation.cpp -lm $(CC) -m32 $(INCLUDE) $(DEFINES) ../stb_vorbis.c test_cpp_compilation.cpp -lm
64: 64:
$(CC) -m64 $(INCLUDE) ../stb_vorbis.c test_c_compilation.c -lm $(CC) -m64 $(INCLUDE) $(DEFINES) ../stb_vorbis.c test_c_compilation.c ../stb.c -lm
$(CC) -m64 $(INCLUDE) ../stb_vorbis.c test_cpp_compilation.cpp -lm $(CC) -m64 $(INCLUDE) $(DEFINES) ../stb_vorbis.c test_cpp_compilation.cpp -lm