aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-08-04 17:13:20 +0200
committerGitHub <noreply@github.com>2016-08-04 17:13:20 +0200
commit5da66e7ec88e75d60827d14214b9214df473df15 (patch)
tree1d7640c1313d28f9c0f157c05149389bad031409 /src
parent80789e6140fd86a8063ff13e4e8db9dccdff804d (diff)
parent3d519c7a397f38f4d1d219615ec0ec74b4eaabd3 (diff)
downloadraylib-5da66e7ec88e75d60827d14214b9214df473df15.tar.gz
raylib-5da66e7ec88e75d60827d14214b9214df473df15.zip
Merge pull request #172 from LelixSuper/fix-makefile
Fix install command of src/ makefile
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index c41fe2f5..1360a920 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -222,10 +222,10 @@ ifeq ($(ROOT),root)
# /usr/local/include/) are for libraries that are installed
# manually (without a package manager).
ifeq ($(SHARED),YES)
- cp --update libraylib.so /usr/local/lib/libraylib.so
+ cp --update $(OUTPUT_PATH)/libraylib.so /usr/local/lib/libraylib.so
else
cp --update raylib.h /usr/local/include/raylib.h
- cp --update libraylib.a /usr/local/lib/libraylib.a
+ cp --update $(OUTPUT_PATH)/libraylib.a /usr/local/lib/libraylib.a
endif
@echo "raylib dev files installed/updated!"
else