mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Strip trailing spaces
This commit is contained in:
12
src/Makefile
12
src/Makefile
@ -1,7 +1,7 @@
|
||||
#******************************************************************************
|
||||
#
|
||||
# raylib makefile for desktop platforms, Raspberry Pi and HTML5 (emscripten)
|
||||
#
|
||||
#
|
||||
# Many Thanks to Emanuele Petriglia for his contribution on GNU/Linux pipeline.
|
||||
#
|
||||
# Copyright (c) 2014-2016 Ramon Santamaria (@raysan5)
|
||||
@ -267,7 +267,7 @@ OBJS += external/stb_vorbis.o
|
||||
|
||||
# typing 'make' will invoke the default target entry called 'all',
|
||||
# in this case, the 'default' target entry is raylib
|
||||
all: toolchain raylib
|
||||
all: toolchain raylib
|
||||
|
||||
# make standalone Android toolchain
|
||||
toolchain:
|
||||
@ -290,7 +290,7 @@ else
|
||||
ifeq ($(SHARED),YES)
|
||||
ifeq ($(PLATFORM_OS),LINUX)
|
||||
# compile raylib to shared library version for GNU/Linux.
|
||||
# WARNING: you should type "make clean" before doing this target
|
||||
# WARNING: you should type "make clean" before doing this target
|
||||
$(CC) -shared -o $(OUTPUT_PATH)/libraylib.so $(OBJS)
|
||||
@echo "raylib shared library (libraylib.so) generated!"
|
||||
endif
|
||||
@ -323,11 +323,11 @@ core.o : core.c raylib.h rlgl.h utils.h raymath.h gestures.h
|
||||
# compile rlgl module
|
||||
rlgl.o : rlgl.c rlgl.h raymath.h
|
||||
$(CC) -c $< $(CFLAGS) $(INCLUDES) -D$(GRAPHICS)
|
||||
|
||||
|
||||
# compile shapes module
|
||||
shapes.o : shapes.c raylib.h rlgl.h
|
||||
$(CC) -c $< $(CFLAGS) $(INCLUDES) -D$(SHAREDFLAG)
|
||||
|
||||
|
||||
# compile textures module
|
||||
textures.o : textures.c rlgl.h utils.h
|
||||
$(CC) -c $< $(CFLAGS) $(INCLUDES) -D$(PLATFORM) -D$(GRAPHICS) -D$(SHAREDFLAG)
|
||||
@ -343,7 +343,7 @@ models.o : models.c raylib.h rlgl.h raymath.h
|
||||
# compile audio module
|
||||
audio.o : audio.c raylib.h
|
||||
$(CC) -c $< $(CFLAGS) $(INCLUDES) -D$(PLATFORM) -D$(SHAREDFLAG) -D$(SHAREDOPENALFLAG)
|
||||
|
||||
|
||||
# compile stb_vorbis library
|
||||
external/stb_vorbis.o: external/stb_vorbis.c external/stb_vorbis.h
|
||||
$(CC) -c -o $@ $< -O1 $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
|
||||
|
||||
Reference in New Issue
Block a user