aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2014-11-23 21:58:17 +0100
committerraysan5 <raysan5@gmail.com>2014-11-23 21:58:17 +0100
commit7375d0460a8aaeadedf85c7d6313e2cc7d8ba9e9 (patch)
tree5a74fb3746b7fd9f3537d77d60c20661814f2477 /src/makefile
parent05ccc4fd42a9ff2dfd33f13be29734bb7531d65a (diff)
downloadraylib-7375d0460a8aaeadedf85c7d6313e2cc7d8ba9e9.tar.gz
raylib-7375d0460a8aaeadedf85c7d6313e2cc7d8ba9e9.zip
Updated stb headers
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/makefile b/src/makefile
index 0c078e86..bb37748a 100644
--- a/src/makefile
+++ b/src/makefile
@@ -49,7 +49,7 @@ CC = gcc
ifeq ($(PLATFORM),PLATFORM_RPI)
CFLAGS = -O2 -Wall -std=gnu99 -fgnu89-inline
else
- CFLAGS = -O2 -Wall -std=c99
+ CFLAGS = -O2 -Wall -std=c99 -fgnu89-inline
endif
#CFLAGSEXTRA = -Wextra -Wmissing-prototypes -Wstrict-prototypes
@@ -61,7 +61,7 @@ else
endif
# define all object files required
-OBJS = core.o rlgl.o raymath.o shapes.o text.o textures.o models.o audio.o utils.o stb_image.o stb_vorbis.o
+OBJS = core.o rlgl.o raymath.o shapes.o text.o textures.o models.o audio.o utils.o stb_vorbis.o
# typing 'make' will invoke the first target entry in the file,
# in this case, the 'default' target entry is raylib
@@ -107,10 +107,6 @@ audio.o: audio.c
utils.o: utils.c
$(CC) -c utils.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
-# compile stb_image library
-stb_image.o: stb_image.c
- $(CC) -c stb_image.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
-
# compile stb_vorbis library
stb_vorbis.o: stb_vorbis.c
$(CC) -c stb_vorbis.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)