diff --git a/.gitignore b/.gitignore index 1591e532e..6aa3ee26f 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 e62d6980a..518b9fbd9 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 01c0bbe36..94899a55a 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 d200a9293..45a04ec49 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 9877b7d5a..464c63459 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 d88177fec..b0a8d4ee0 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 1eb69d7db..838207b78 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 924aad3d0..58a9b5573 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 34e508648..51533eac7 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 d7ef1a35f..c72158486 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 a2d411932..36e9fec92 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 9e768f5f0..2d79c2c76 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 2e19e17c4..ef9dcd61d 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