diff options
author | Charadon <dev@iotib.net> | 2022-06-01 17:34:51 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-06-01 17:34:51 -0400 |
commit | 01a21af4c041c6f3133b4202ca35c156ffb00f32 (patch) | |
tree | 7a118b37c09e744325cf3740a62e2857ae839ea0 /Makefile | |
parent | 081187244a0f69a0043d15dd7ad2cf5f127c60be (diff) | |
download | Pong-C-01a21af4c041c6f3133b4202ca35c156ffb00f32.tar.gz |
Migrate to meson
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 7a06e58..0000000 --- a/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -CC := gcc -CFLAGS = -Og -Wall -std=c11 -Isrc/ -Iraylib/src -LDFLAGS = -lGL -lm -lpthread -ldl -lrt -lX11 - -all: build_deps build pong - -build_deps: - cd raylib/src && $(MAKE) PLATFORM=PLATFORM_DESKTOP RAYLIB_BUILD_MODE=RELEASE USE_EXTERNAL_GLFW=FALSE - -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/libraylib.a $(LDFLAGS) - -install: - mkdir -p app - install -Dm755 ./pong app/pong - cp -r resources app/resources - -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/ - rm -rf *.flatpak - cd raylib/src && $(MAKE) clean |