-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathMakefile.am
47 lines (34 loc) · 1.75 KB
/
Makefile.am
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
## Process this file with automake to produce Makefile.in
## Copyright (C) 2010-2021 Simen Heggestøyl <[email protected]>
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
bin_PROGRAMS = zatackax
zatackax_SOURCES = src/ai.c src/ai.h src/broadcast.c src/broadcast.h src/common.h src/config.c src/config.h src/data.c src/data.h src/error.c src/error.h src/font.c src/font.h src/gfx.c src/gfx.h src/input.c src/input.h src/particle.c src/particle.h src/player.h src/sound.c src/sound.h src/video.c src/video.h src/weapon.c src/weapon.h src/zatackax.c src/zatackax.h
AM_CPPFLAGS = -DDATADIR=\"$(pkgdatadir)\"
EXTRA_DIST = data AUTHORS.md NEWS.md README.md
desktopdir = $(datadir)/applications
desktop_DATA = data/zatackax.desktop
appicondir = $(datadir)/icons/hicolor/128x128/apps
appicon_DATA = data/icons/zatackax.png
devel : CFLAGS += -O0 -g3 -pg -pedantic -Wall -Wextra
devel : AM_CPPFLAGS = -DDATADIR=\"data\"
devel : zatackax
debug : CFLAGS += -DDEBUG
debug : devel
verbose : CFLAGS += -DVERBOSE
verbose : devel
silent : CFLAGS += -DSILENT
silent : devel
install-data-hook :
mkdir -p $(pkgdatadir);
cp -r $(srcdir)/data/* $(pkgdatadir);
uninstall-hook :
rm -rf $(pkgdatadir);