File: Makefile.am

package info (click to toggle)
ketm 0.0.6-17sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,356 kB
  • ctags: 875
  • sloc: ansic: 7,303; sh: 410; makefile: 185
file content (56 lines) | stat: -rw-r--r-- 1,127 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
48
49
50
51
52
53
54
55
56
scoredir=$(localstatedir)/games

bin_PROGRAMS = ketm
AUTOMAKE_OPTIONS = foreign 
SUBDIRS=data
CFLAGS=-Wall -O3 -funroll-loops -fexpensive-optimizations -D_REENTRANT
#ketm_LDADD=@LIBOBJS@
man_MANS = ketm.6
ketm_SOURCES=	main.c \
	particle.c \
	font.c \
	sprite.c \
	bonus.c \
	enemy.c \
	enemy_greeter.c \
	enemy_curver.c \
	enemy_crusher.c \
	enemy_cube.c \
	enemy_drager.c \
	enemy_eyefo.c \
	enemy_xev.c \
	enemy_mine.c \
	enemy_rwingx.c \
	enemy_cir.c \
	enemy_zatak.c \
	enemy_badguy.c \
	enemy_proball.c \
	enemy_plasmaball.c \
	enemy_ming.c \
	enemy_boss01.c \
	enemy_boss02.c \
	enemy_boss03.c \
	enemy_gametext.c \
	support.c \
	intro.c \
	thegame.c \
	loadlv.c \
	score.c \
	player.c \
	menu.c \
	startintro.c \
	gameover.c \
	hiscore.c \
	fps.c \
	bg.c


INCLUDES = -DDATA=\"$(datadir)/ketm\" -DHISCORE_FILE=\"$(scoredir)/ketm.scores\"
install-data-local:
	-$(mkinstalldirs) $(DESTDIR)$(scoredir)
	touch $(DESTDIR)$(scoredir)/ketm.scores
	-chown games.games $(DESTDIR)$(scoredir)/ketm.scores
	-chmod 664 $(DESTDIR)$(scoredir)/ketm.scores
	-chgrp games $(DESTDIR)$(bindir)/ketm 
	-chmod 2111 $(DESTDIR)$(bindir)/ketm