mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
24d27c9175
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
16 lines
387 B
Makefile
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)
|