File: Makefile.am

package info (click to toggle)
mousetrap 1.0c-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 1,168 kB
  • ctags: 109
  • sloc: sh: 2,353; cpp: 899; makefile: 52
file content (29 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (5)
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

rm=/bin/rm -f

INCLUDES=-I$(top_srcdir)

mousetrap_LDFLAGS = -L$(top_builddir)/src

BUILT_SOURCES = defaults.h
DISTCLEANFILES = defaults.h
CONFIG_CLEAN_FILES = defaults.h
defaults.h: Makefile
	echo '//This file is generated from makefile. Do not edit!' > defaults.h
	echo '#define DEFAULT_LIBDIR "@DEFAULT_LIBDIR@"' >> defaults.h
	echo '#define PACKAGE "@PACKAGE@"' >> defaults.h

mousetrap.$(OBJEXT): defaults.h


bin_PROGRAMS= mousetrap

mousetrap_SOURCES= enemy.cpp  font.cpp  highscore.cpp soundeffects.cpp \
		enemy.h  font.h  highscore.h  soundeffects.h \
		mousetrap.h mousetrap.cpp

uninstall-local:
	for i in $(bin_PROGRAMS); do \
		rm -f $(exec_prefix)/bin/$$i; \
	done