-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
33 lines (30 loc) · 1.08 KB
/
Makefile.am
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
# Main Makefile for DOSBox
EXTRA_DIST = autogen.sh
SUBDIRS = src include docs visualc_net
# 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 {} +