about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f393bf..f9e7343 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ build: src/main.c src/enemy.c src/ball.c src/title.c
 	$(CC) $(CFLAGS) $(PKG_CONF_CFLAGS) -c $?
 
 pong: main.o enemy.o ball.o title.o
-	$(CC) $? -o $@ raylib/src/libraylib.a $(LDFLAGS)
+	$(CC) $? -o $@ raylib/libraylib.a $(LDFLAGS)
 
 install:
 	mkdir -p app
@@ -22,8 +22,12 @@ install_flatpak:
 	mkdir -p /app/Pong
 	install -Dm755 ./pong /app/Pong/pong
 	cp -r resources/ /app/Pong/resources
+	mkdir -p /app/bin
+	install -Dm755 src/launch.sh /app/bin/launch.sh
 
 clean:
 	rm -fv *.o
 	rm -fv pong
+	rm -rf .flatpak-builder
+	rm -rf flatpak
 	cd raylib/src && $(MAKE) clean