blob: 62fd93548c1649c63a32da2cc307afaaa9195a0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)
|