diff options
| author | Ray <raysan5@gmail.com> | 2018-11-19 15:18:11 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2018-11-19 15:18:11 +0100 |
| commit | ac23af9bf0215614aed84efec2872d78203ca10a (patch) | |
| tree | 426e2278e514b95242580d94ee4c0e114735db8b /examples | |
| parent | ed269b8d9a96afb2af69a218eb1f2e7fe8fcc8a6 (diff) | |
| download | raylib-ac23af9bf0215614aed84efec2872d78203ca10a.tar.gz raylib-ac23af9bf0215614aed84efec2872d78203ca10a.zip | |
Review resources naming
raylib resource data file for Windows platform (containing raylib icon and metadata for executable file) has been renamed to a more consistent name: raylib.rc.data
Also required to work with tcc compiler.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/Makefile | 2 | ||||
| -rw-r--r-- | examples/physac/physics_demo.c | 5 | ||||
| -rw-r--r-- | examples/physac/physics_friction.c | 5 | ||||
| -rw-r--r-- | examples/physac/physics_movement.c | 5 | ||||
| -rw-r--r-- | examples/physac/physics_restitution.c | 5 | ||||
| -rw-r--r-- | examples/physac/physics_shatter.c | 5 |
6 files changed, 16 insertions, 11 deletions
diff --git a/examples/Makefile b/examples/Makefile index a26e0bbb..8dd46ad3 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -216,7 +216,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resource file contains windows executable icon and properties # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.data -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) ifeq ($(RAYLIB_BUILD_MODE),DEBUG) diff --git a/examples/physac/physics_demo.c b/examples/physac/physics_demo.c index d417efec..a92bb9e1 100644 --- a/examples/physac/physics_demo.c +++ b/examples/physac/physics_demo.c @@ -7,8 +7,9 @@ * * Use the following line to compile: * -* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib.rc.o -static -lraylib -lpthread -* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s -static / +* -lraylib -lpthread -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm / +* -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition * * Copyright (c) 2016-2018 Victor Fisac * diff --git a/examples/physac/physics_friction.c b/examples/physac/physics_friction.c index 99491eeb..337a1265 100644 --- a/examples/physac/physics_friction.c +++ b/examples/physac/physics_friction.c @@ -7,8 +7,9 @@ * * Use the following line to compile: * -* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib.rc.o -static -lraylib -lpthread -* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s -static / +* -lraylib -lpthread -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm / +* -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition * * Copyright (c) 2016-2018 Victor Fisac * diff --git a/examples/physac/physics_movement.c b/examples/physac/physics_movement.c index 4c4f259f..e799eaad 100644 --- a/examples/physac/physics_movement.c +++ b/examples/physac/physics_movement.c @@ -7,8 +7,9 @@ * * Use the following line to compile: * -* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib.rc.o -static -lraylib -lpthread -* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s -static / +* -lraylib -lpthread -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm / +* -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition * * Copyright (c) 2016-2018 Victor Fisac * diff --git a/examples/physac/physics_restitution.c b/examples/physac/physics_restitution.c index 197e6eb5..3231d0cf 100644 --- a/examples/physac/physics_restitution.c +++ b/examples/physac/physics_restitution.c @@ -7,8 +7,9 @@ * * Use the following line to compile: * -* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib.rc.o -static -lraylib -lpthread -* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s -static / +* -lraylib -lpthread -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm / +* -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition * * Copyright (c) 2016-2018 Victor Fisac * diff --git a/examples/physac/physics_shatter.c b/examples/physac/physics_shatter.c index 17f9bfc2..74785227 100644 --- a/examples/physac/physics_shatter.c +++ b/examples/physac/physics_shatter.c @@ -7,8 +7,9 @@ * * Use the following line to compile: * -* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib.rc.o -static -lraylib -lpthread -* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s -static / +* -lraylib -lpthread -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm / +* -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition * * Copyright (c) 2016-2018 Victor Fisac * |
