-
Notifications
You must be signed in to change notification settings - Fork 4
/
makefile.list
66 lines (47 loc) · 1.28 KB
/
makefile.list
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Makefile generic - Sources
# -----------------
# -- Directories --
# -----------------
SRCDIR = src/
LIBDIR = lib/
EXMDIR = examples/
DEMDIR = demos/
OBJDIR = obj/
BINDIR = bin/
FPDIR = furiouspaladin/
PADIR = pascalroids/
LIBSRC = $(SRCDIR)$(LIBDIR)
EXMSRC = $(SRCDIR)$(EXMDIR)
DEMSRC = $(SRCDIR)$(DEMDIR)
FPSRC = $(DEMSRC)$(FPDIR)
PASRC = $(DEMSRC)$(PADIR)
EXMBIN = $(BINDIR)$(EXMDIR)
DEMBIN = $(BINDIR)$(DEMDIR)
FPBIN = $(DEMBIN)$(FPDIR)
PABIN = $(DEMBIN)$(PADIR)
DOCSRC = $(SRCDIR)docs/
DOCDIR = docs/lib/
# General paths.
LIBPATHS = -Fu$(LIBSRC)
OUTPATHS = -FU$(OBJDIR)
# -----------
# -- Files --
# -----------
# Sufix for main unit.
MAINSUF = .pas
# Allegro sources
LIBFILES = $(wildcard $(LIBSRC)*.pas)
# For the examples.
TEXM = $(wildcard $(EXMSRC)ex_*$(MAINSUF))
EXMFILES = $(addprefix $(EXMBIN),$(addsuffix $(BINSUF), $(basename $(notdir $(TEXM) ) ) ) )
# For the demonstration games.
FURIOUSPALADIN = $(FPBIN)furiouspaladin$(BINSUF)
FURIOUSUNITS = $(wildcard $(FPSRC)*.pas)
PASCALROIDS = $(PABIN)pascalroids$(BINSUF)
PROIDSUNITS = $(wildcard $(PASRC)*.pas)
DEMFILES = $(FURIOUSPALADIN) $(PASCALROIDS)
ALLFILES = $(LIBFILES) $(TEXM) $(TDEMfp)
# Documentation files.
DOCMAIN = $(DOCSRC)allegro5.pds
DOCINTRO = $(DOCSRC)introduction.pds
DOCFILES = $(wildcard $(DOCSRC)*.pds)