diff options
author | Charadon <dev@iotib.net> | 2022-05-30 22:11:01 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-05-30 22:11:01 -0400 |
commit | 2818ee50405fba641a7f2bdffb968379f8ea0eee (patch) | |
tree | 6f25baa5f25072be3833eb4d77f3151f95f6c48c /Makefile | |
parent | b35d42e0ec41370be618ad59312786ec3795a5e7 (diff) | |
download | Pong-C-2818ee50405fba641a7f2bdffb968379f8ea0eee.tar.gz |
Finished on making flatpak work, and fixed a bug where the paddle could randomly not spawn.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
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 |