summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorMartinfx <[email protected]>2017-10-28 18:41:29 +0200
committerMartinfx <[email protected]>2017-10-28 18:41:29 +0200
commit47c7f3624f187db057cd5a05a46247f99730c7b2 (patch)
tree44af4e366053c162a423a635c1d23d6a7134d15b /src/Makefile
parentb3110c14feee4036e5504b2a16b2b8e506fc9b7a (diff)
downloadraylib-47c7f3624f187db057cd5a05a46247f99730c7b2.tar.gz
raylib-47c7f3624f187db057cd5a05a46247f99730c7b2.zip
Added support FreeBSD for example
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 14d9760d..176991bb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -172,7 +172,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
CC = clang
endif
ifeq ($(PLATFORM_OS),FREEBSD)
- # default compiler
+ # FreeBSD default compiler
CC = clang
endif
endif
@@ -351,8 +351,7 @@ else
@echo "raylib shared library generated (libraylib.dylib)!"
endif
ifeq ($(PLATFORM_OS),FREEBSD)
- # Compile raylib to shared library version for FreeBSD
- # WARNING: you should type "make clean" before doing this target
+ # WARNING: you should type "gmake clean" before doing this target
$(CC) -shared -o $(RAYLIB_RELEASE_PATH)/libraylib.so $(OBJS) -lglfw -lGL -lopenal -lpthread
@echo "raylib shared library generated (libraylib.so)!"
endif