summarylogtreecommitdiffstats
path: root/esee
blob: a0a93f06d0af3abb6ba88c8819f04c46cfee53ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/Source/Makefile b/Source/Makefile
index b670ac2..b18c520 100644
--- a/Source/Makefile
+++ b/Source/Makefile
@@ -25,8 +25,7 @@ kernel16.o: kernel16.cu
 
 install: $(TARGET)
 	@echo "Installing..."
-	@cp $(TARGET) $(PREFIX)
-	@chmod 644 $(PREFIX)/$(TARGET)
+	@install -Dm644 $(TARGET) $(PREFIX)/$(TARGET)
 
 uninstall:
 	@echo "Uninstalling..."