mirror of
https://github.com/nothings/stb
synced 2024-12-15 12:22:55 +03:00
makefile
This commit is contained in:
parent
cf6d17cd74
commit
a235b6cd44
@ -2,5 +2,4 @@ language: C
|
|||||||
install: true
|
install: true
|
||||||
script:
|
script:
|
||||||
- cd tests
|
- cd tests
|
||||||
- make 32
|
|
||||||
- make 64
|
- make 64
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user