aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vendor/miniaudio/src/Makefile6
-rw-r--r--vendor/stb/src/Makefile26
2 files changed, 16 insertions, 16 deletions
diff --git a/vendor/miniaudio/src/Makefile b/vendor/miniaudio/src/Makefile
index 7ff72ebdc..3c61b5e2f 100644
--- a/vendor/miniaudio/src/Makefile
+++ b/vendor/miniaudio/src/Makefile
@@ -1,6 +1,6 @@
all:
mkdir -p ../lib
- gcc -c -O2 -Os -fPIC miniaudio.c
- ar rcs ../lib/miniaudio.a miniaudio.o
- #gcc -fPIC -shared -Wl,-soname=miniaudio.so -o ../lib/miniaudio.so miniaudio.o
+ $(CC) -c -O2 -Os -fPIC miniaudio.c
+ $(AR) rcs ../lib/miniaudio.a miniaudio.o
+ #$(CC) -fPIC -shared -Wl,-soname=miniaudio.so -o ../lib/miniaudio.so miniaudio.o
rm *.o
diff --git a/vendor/stb/src/Makefile b/vendor/stb/src/Makefile
index c65aa7263..5504fede9 100644
--- a/vendor/stb/src/Makefile
+++ b/vendor/stb/src/Makefile
@@ -1,16 +1,16 @@
all:
mkdir -p ../lib
- gcc -c -O2 -Os -fPIC stb_image.c stb_image_write.c stb_image_resize.c stb_truetype.c stb_rect_pack.c stb_vorbis.c
- ar rcs ../lib/stb_image.a stb_image.o
- ar rcs ../lib/stb_image_write.a stb_image_write.o
- ar rcs ../lib/stb_image_resize.a stb_image_resize.o
- ar rcs ../lib/stb_truetype.a stb_truetype.o
- ar rcs ../lib/stb_rect_pack.a stb_rect_pack.o
- #ar rcs ../lib/stb_vorbis_pack.a stb_vorbis_pack.o
- #gcc -fPIC -shared -Wl,-soname=stb_image.so -o ../lib/stb_image.so stb_image.o
- #gcc -fPIC -shared -Wl,-soname=stb_image_write.so -o ../lib/stb_image_write.so stb_image_write.o
- #gcc -fPIC -shared -Wl,-soname=stb_image_resize.so -o ../lib/stb_image_resize.so stb_image_resize.o
- #gcc -fPIC -shared -Wl,-soname=stb_truetype.so -o ../lib/stb_truetype.so stb_image_truetype.o
- #gcc -fPIC -shared -Wl,-soname=stb_rect_pack.so -o ../lib/stb_rect_pack.so stb_rect_packl.o
- #gcc -fPIC -shared -Wl,-soname=stb_vorbis.so -o ../lib/stb_vorbis.so stb_vorbisl.o
+ $(CC) -c -O2 -Os -fPIC stb_image.c stb_image_write.c stb_image_resize.c stb_truetype.c stb_rect_pack.c stb_vorbis.c
+ $(AR) rcs ../lib/stb_image.a stb_image.o
+ $(AR) rcs ../lib/stb_image_write.a stb_image_write.o
+ $(AR) rcs ../lib/stb_image_resize.a stb_image_resize.o
+ $(AR) rcs ../lib/stb_truetype.a stb_truetype.o
+ $(AR) rcs ../lib/stb_rect_pack.a stb_rect_pack.o
+ #$(AR) rcs ../lib/stb_vorbis_pack.a stb_vorbis_pack.o
+ #$(CC) -fPIC -shared -Wl,-soname=stb_image.so -o ../lib/stb_image.so stb_image.o
+ #$(CC) -fPIC -shared -Wl,-soname=stb_image_write.so -o ../lib/stb_image_write.so stb_image_write.o
+ #$(CC) -fPIC -shared -Wl,-soname=stb_image_resize.so -o ../lib/stb_image_resize.so stb_image_resize.o
+ #$(CC) -fPIC -shared -Wl,-soname=stb_truetype.so -o ../lib/stb_truetype.so stb_image_truetype.o
+ #$(CC) -fPIC -shared -Wl,-soname=stb_rect_pack.so -o ../lib/stb_rect_pack.so stb_rect_packl.o
+ #$(CC) -fPIC -shared -Wl,-soname=stb_vorbis.so -o ../lib/stb_vorbis.so stb_vorbisl.o
rm *.o