aboutsummaryrefslogtreecommitdiff
path: root/games/jezzball-kazzmir/Makefile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-19 18:36:19 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:16 +0700
commit24d27c9175b02474d70c9b145f4bf2d5a4834877 (patch)
treecbf318c37fa62ecb738e209e7335a8edef2dfac3 /games/jezzball-kazzmir/Makefile
parent817876646be5a705915fd2895ae8a27203084329 (diff)
games/jezzball-kazzmir: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/jezzball-kazzmir/Makefile')
-rw-r--r--games/jezzball-kazzmir/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/jezzball-kazzmir/Makefile b/games/jezzball-kazzmir/Makefile
new file mode 100644
index 0000000000000..62fd93548c164
--- /dev/null
+++ b/games/jezzball-kazzmir/Makefile
@@ -0,0 +1,16 @@
+PRGNAM=jezzball
+
+SRCS=$(wildcard src/*.cpp)
+OBJS=$(patsubst %.cpp,%.o,$(SRCS))
+
+CXX=g++
+OPTFLAGS=
+CXXFLAGS=$(OPTFLAGS) -Wno-write-strings $(shell allegro-config --cflags) $(shell libpng-config --cflags)
+LDFLAGS=$(shell allegro-config --libs) -ljpgalleg -lloadpng $(shell libpng-config --libs)
+
+all: $(PRGNAM)
+
+$(PRGNAM): $(OBJS)
+ $(CXX) -o $(PRGNAM) $(OBJS) $(LDFLAGS)
+
+$(OBJS): $(SRCS)