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
|