[go: up one dir, main page]

File: Makefile.am

package info (click to toggle)
zatacka 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,924 kB
  • sloc: ansic: 3,456; sh: 1,250; makefile: 34
file content (47 lines) | stat: -rw-r--r-- 1,787 bytes parent folder | download
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-2020 Simen Heggestøyl <simenheg@runbox.com>

## 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);