33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
# Main Makefile for DOSBox
|
|
|
|
EXTRA_DIST = autogen.sh
|
|
SUBDIRS = src include docs
|
|
|
|
# Per the auto-tools clean guidelines:
|
|
# https://www.gnu.org/savannah-checkouts/gnu/automake/manual/html_node/Clean.html#Clean
|
|
#
|
|
# "if configure built it, then 'distclean' should delete it", however the generated
|
|
# _distclean_ target misses many files generated by ./configure, so we augment them
|
|
# here. We also add those files generated by automake and autoconf to ensure 'distclean'
|
|
# reverts the directory back to its original as-distributed source tree.
|
|
#
|
|
# (note: with recursive makefiles, these files could be defined as individual distclean-local:
|
|
# targets inside each sub-directory's Makefile.am, however listing them in one target here
|
|
# is easier manage as they can all be seen at once.)
|
|
|
|
distclean-local:
|
|
-rm aclocal.m4
|
|
-rm build.log
|
|
-rm compile
|
|
-rm config.guess
|
|
-rm config.h.in
|
|
-rm config.h.in~
|
|
-rm config.log
|
|
-rm config.sub
|
|
-rm configure
|
|
-rm depcomp
|
|
-rm install-sh
|
|
-rm missing
|
|
-rm -rf autom4te.cache
|
|
-find . -name Makefile.in -type f -delete
|
|
-find . -name .deps -type d -exec rm -rf {} +
|