summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHurricanePootis2021-07-26 16:17:34 -0500
committerHurricanePootis2021-07-26 16:17:34 -0500
commitc81a3f9d7c6fa8af734765371b067e70f117f1e9 (patch)
treebe4f367bfe086d2fec0129ab68c8e0badaed02d5
parentbfdec29c8733033f28055ef6fffddef50cc037b5 (diff)
downloadaur-c81a3f9d7c6fa8af734765371b067e70f117f1e9.tar.gz
Updated build processes
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cc948a6d12b..93431cc073f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = terri-fried-git
pkgdesc = A multi-platform C++ game made for Ludum Dare 46
pkgver = r34.463aa1e
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/polymarsdev/terri-fried
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index a70a49435ed..74e217f101e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: HurricanePootis <hurricanepootis@protonmail.com>
pkgname=terri-fried-git
pkgver=r34.463aa1e
-pkgrel=4
+pkgrel=5
pkgdesc="A multi-platform C++ game made for Ludum Dare 46"
arch=('any')
url="https://github.com/polymarsdev/terri-fried"
@@ -19,7 +19,10 @@ pkgver() {
build() {
cd "$srcdir/terri-fried-git/windows/raylib"
- g++ $CXXFLAGS -o terri-fried main.cpp player.cpp platform.cpp -lraylib
+ g++ -c -o player.o $CXXFLAGS player.cpp
+ g++ -c -o platform.o $CXXFLAGS platform.cpp
+ g++ -c -o main.o $CXXFLAGS main.cpp
+ g++ -o terri-fried player.o platform.o main.o -lraylib
}
package() {