From 7dc66d2d3f0668edd46ed3380656692d67ae6da0 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sat, 21 Jul 2018 16:18:33 +0200 Subject: [PATCH] Looking for a place for raylib resource file --- .gitignore | 2 +- examples/Makefile | 2 +- games/Makefile | 2 +- games/drturtle/Makefile | 2 +- games/just_do/Makefile | 2 +- games/koala_seasons/Makefile | 2 +- games/light_my_ritual/Makefile | 2 +- games/skully_escape/Makefile | 2 +- games/transmission/Makefile | 2 +- games/wave_collector/Makefile | 2 +- src/raylib.rc.o => raylib.rc.o | Bin templates/advance_game/Makefile | 2 +- templates/simple_game/Makefile | 2 +- templates/standard_game/Makefile | 2 +- 14 files changed, 13 insertions(+), 13 deletions(-) rename src/raylib.rc.o => raylib.rc.o (100%) diff --git a/.gitignore b/.gitignore index 1591e532..6aa3ee26 100644 --- a/.gitignore +++ b/.gitignore @@ -48,7 +48,7 @@ ipch/ # Ignore compiled binaries *.o *.exe -!src/raylib.rc.o +!raylib.rc.o # Ignore all examples files examples/* diff --git a/examples/Makefile b/examples/Makefile index e62d6980..518b9fbd 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)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) ifeq ($(RAYLIB_BUILD_MODE),DEBUG) diff --git a/games/Makefile b/games/Makefile index 01c0bbe3..94899a55 100644 --- a/games/Makefile +++ b/games/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/games/drturtle/Makefile b/games/drturtle/Makefile index d200a929..45a04ec4 100644 --- a/games/drturtle/Makefile +++ b/games/drturtle/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/games/just_do/Makefile b/games/just_do/Makefile index 9877b7d5..464c6345 100644 --- a/games/just_do/Makefile +++ b/games/just_do/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/games/koala_seasons/Makefile b/games/koala_seasons/Makefile index d88177fe..b0a8d4ee 100644 --- a/games/koala_seasons/Makefile +++ b/games/koala_seasons/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/games/light_my_ritual/Makefile b/games/light_my_ritual/Makefile index 1eb69d7d..838207b7 100644 --- a/games/light_my_ritual/Makefile +++ b/games/light_my_ritual/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/games/skully_escape/Makefile b/games/skully_escape/Makefile index 924aad3d..58a9b557 100644 --- a/games/skully_escape/Makefile +++ b/games/skully_escape/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/games/transmission/Makefile b/games/transmission/Makefile index 34e50864..51533eac 100644 --- a/games/transmission/Makefile +++ b/games/transmission/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/games/wave_collector/Makefile b/games/wave_collector/Makefile index d7ef1a35..c7215848 100644 --- a/games/wave_collector/Makefile +++ b/games/wave_collector/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/src/raylib.rc.o b/raylib.rc.o similarity index 100% rename from src/raylib.rc.o rename to raylib.rc.o diff --git a/templates/advance_game/Makefile b/templates/advance_game/Makefile index a2d41193..36e9fec9 100644 --- a/templates/advance_game/Makefile +++ b/templates/advance_game/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/templates/simple_game/Makefile b/templates/simple_game/Makefile index 9e768f5f..2d79c2c7 100644 --- a/templates/simple_game/Makefile +++ b/templates/simple_game/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE diff --git a/templates/standard_game/Makefile b/templates/standard_game/Makefile index 2e19e17c..ef9dcd61 100644 --- a/templates/standard_game/Makefile +++ b/templates/standard_game/Makefile @@ -169,7 +169,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) # resources file contains windows exe icon # -Wl,--subsystem,windows hides the console window - CFLAGS += $(RAYLIB_PATH)/src/raylib.rc.o -Wl,--subsystem,windows + CFLAGS += $(RAYLIB_PATH)/raylib.rc.o -Wl,--subsystem,windows endif ifeq ($(PLATFORM_OS),LINUX) CFLAGS += -D_DEFAULT_SOURCE