diff options
| author | Miguel Lechón <miguel.lechon@gmail.com> | 2014-11-09 13:18:32 +0100 |
|---|---|---|
| committer | Miguel Lechón <miguel.lechon@gmail.com> | 2014-11-09 13:18:32 +0100 |
| commit | a471b6197aec1911cf26bcc891767bca22cb9dab (patch) | |
| tree | fd2d32a5a8740e59e05481d6fb9b15d78d027bf4 | |
| parent | db2ad9648d7fa2c9b378f2dcbfaa8be372f7e957 (diff) | |
| download | raylib-a471b6197aec1911cf26bcc891767bca22cb9dab.tar.gz raylib-a471b6197aec1911cf26bcc891767bca22cb9dab.zip | |
Renamed the PLATFORM_LINUX_DESKTOP into PLATFORM_DESKTOP_LINUX.
| -rw-r--r-- | examples/makefile | 8 | ||||
| -rw-r--r-- | src/makefile | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/makefile b/examples/makefile index bcf1214b..076c9594 100644 --- a/examples/makefile +++ b/examples/makefile @@ -24,7 +24,7 @@ #************************************************************************************************** # define raylib platform (by default, compile for RPI) -# Other possible platforms: PLATFORM_DESKTOP PLATFORM_LINUX_DESKTOP +# Other possible platforms: PLATFORM_DESKTOP PLATFORM_DESKTOP_LINUX PLATFORM ?= PLATFORM_RPI # define compiler: gcc for C program, define as g++ for C++ @@ -49,7 +49,7 @@ else endif # define library paths containing required libs -ifeq ($(PLATFORM),PLATFORM_LINUX_DESKTOP) +ifeq ($(PLATFORM),PLATFORM_DESKTOP_LINUX) LFLAGS = -L. -L../src else LFLAGS = -L. -L../src -L/opt/vc/lib @@ -62,7 +62,7 @@ ifeq ($(PLATFORM),PLATFORM_RPI) # NOTE: OpenAL Soft library should be installed (libopenal1 package) LIBS = -lraylib -lGLESv2 -lEGL -lpthread -lrt -lm -lbcm_host -lopenal else -ifeq ($(PLATFORM),PLATFORM_LINUX_DESKTOP) +ifeq ($(PLATFORM),PLATFORM_DESKTOP_LINUX) # libraries for Debian GNU/Linux desktop compiling # requires the following packages: # libglfw3-dev libopenal-dev libglew-dev libegl1-mesa-dev @@ -250,7 +250,7 @@ ifeq ($(PLATFORM),PLATFORM_RPI) rm -f *.o # find . -executable -delete else -ifeq ($(PLATFORM),PLATFORM_LINUX_DESKTOP) +ifeq ($(PLATFORM),PLATFORM_DESKTOP_LINUX) find . -type f -executable -delete rm -f *.o else diff --git a/src/makefile b/src/makefile index c5688a49..0c078e86 100644 --- a/src/makefile +++ b/src/makefile @@ -24,7 +24,7 @@ #************************************************************************************************** # define raylib platform (by default, compile for RPI) -# Other possible platforms: PLATFORM_DESKTOP PLATFORM_LINUX_DESKTOP +# Other possible platforms: PLATFORM_DESKTOP PLATFORM_DESKTOP_LINUX PLATFORM ?= PLATFORM_RPI # define raylib graphics api depending on selected platform @@ -120,7 +120,7 @@ clean: ifeq ($(PLATFORM),PLATFORM_RPI) rm -f *.o libraylib.a else -ifeq ($(PLATFORM),PLATFORM_LINUX_DESKTOP) +ifeq ($(PLATFORM),PLATFORM_DESKTOP_LINUX) find . -type f -executable -delete rm -f *.o libraylib.a else |
