Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Barrett committed Jan 16, 2017
1 parent 4d19411 commit 84e2fc0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ language: C
install: true install: true
script: script:
- cd tests - cd tests
- make 64 - make all
2 changes: 1 addition & 1 deletion stb_leakcheck.h
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
// stb_leakcheck.h - v0.2 - quick & dirty malloc leak-checking - public domain // stb_leakcheck.h - v0.3 - quick & dirty malloc leak-checking - public domain
// LICENSE // LICENSE
// //
// This software is dual-licensed to the public domain and under the following // This software is dual-licensed to the public domain and under the following
Expand Down
3 changes: 2 additions & 1 deletion stb_tilemap_editor.h
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
// stb_tilemap_editor.h - v0.37 - Sean Barrett - http://nothings.org/stb // stb_tilemap_editor.h - v0.38 - Sean Barrett - http://nothings.org/stb
// placed in the public domain - not copyrighted - first released 2014-09 // placed in the public domain - not copyrighted - first released 2014-09
// //
// Embeddable tilemap editor for C/C++ // Embeddable tilemap editor for C/C++
Expand Down Expand Up @@ -275,6 +275,7 @@
// either approach allows cut&pasting between levels.) // either approach allows cut&pasting between levels.)
// //
// REVISION HISTORY // REVISION HISTORY
// 0.38 fix warning
// 0.37 fix warning // 0.37 fix warning
// 0.36 minor compiler support // 0.36 minor compiler support
// 0.35 layername button changes // 0.35 layername button changes
Expand Down
10 changes: 3 additions & 7 deletions tests/Makefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ INCLUDES = -I..
CFLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_DIVIDE_TEST CFLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_DIVIDE_TEST
CPPFLAGS = -Wno-write-strings -DSTB_DIVIDE_TEST CPPFLAGS = -Wno-write-strings -DSTB_DIVIDE_TEST


32: all:
$(CC) -m32 $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c -lm $(CC) $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c -lm
$(CC) -m32 $(INCLUDES) $(CPPFLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm $(CC) $(INCLUDES) $(CPPFLAGS) test_cpp_compilation.cpp -lm

64:
$(CC) -m64 $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c -lm
$(CC) -m64 $(INCLUDES) $(CPPFLAGS) ../stb_vorbis.c test_cpp_compilation.cpp -lm

0 comments on commit 84e2fc0

Please sign in to comment.