slackbuilds_ponce/games/jezzball-kazzmir/Makefile
B. Watson 24d27c9175
games/jezzball-kazzmir: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-10-29 17:07:16 +07:00

16 lines
387 B
Makefile

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)