Fix permissions and call executable "iv"
dkl9

dkl9 commited on 2025-181 01:15:21
Showing 6 changed files, with 5 additions and 5 deletions.

... ...
@@ -1,4 +1,5 @@
1 1
 main
2
+iv
2 3
 *.o
3 4
 *.exe
4 5
 tags
... ...
@@ -1,5 +1,5 @@
1
-main : main.o
2
-	cc -O2 -o main main.o -lSDL2 -lSDL2_image
1
+iv : main.o
2
+	cc -O2 -o iv main.o -lSDL2 -lSDL2_image
3 3
 
4 4
 main.o : main.c
5 5
 	cc -O2 -c -Wall main.c
... ...
@@ -1,11 +1,10 @@
1 1
 iv is an SDL-based image viewer.
2 2
 
3 3
 To compile:
4
-make main
4
+make iv
5 5
 
6 6
 To install, with $INSTALL_DIR somewhere in your $PATH:
7
-mv main $INSTALL_DIR/iv
8
-cp alpha_checker.bmp $INSTALL_DIR
7
+cp iv alpha_checker.bmp $INSTALL_DIR
9 8
 
10 9
 To make iv the default, if on Linux:
11 10
 ULSA=/usr/local/share/applications