Sean Barrett 8 년 전
부모
커밋
cf6d17cd74
1개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 6 4
      tests/Makefile

+ 6 - 4
tests/Makefile

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