diff --git a/aegisub/reporter/Makefile.am b/aegisub/reporter/Makefile.am index ef5f70c9a..b92c044f7 100644 --- a/aegisub/reporter/Makefile.am +++ b/aegisub/reporter/Makefile.am @@ -1,5 +1,6 @@ AUTOMAKE_OPTIONS = foreign AM_CXXFLAGS = +DISTCLEANFILES = bin_PROGRAMS = reporter-2.2 @@ -16,6 +17,7 @@ if PRECOMPILED_HEADER # This doesn't depend on Makefile on purpose, you should already know what you're doing when using this. r_pre.h.gch: r_pre.h @CXX@ @WX_CPPFLAGS@ @CXXFLAGS@ @DEBUG_FLAGS@ r_pre.h +DISTCLEANFILES += r_pre.h.gch endif diff --git a/aegisub/src/Makefile.am b/aegisub/src/Makefile.am index 27d90c697..3e99c0d01 100644 --- a/aegisub/src/Makefile.am +++ b/aegisub/src/Makefile.am @@ -2,6 +2,7 @@ AUTOMAKE_OPTIONS = foreign SUFFIXES = .c .cpp .rc noinst_LIBRARIES= AM_CXXFLAGS = +DISTCLEANFILES = if BUILD_DARWIN libosxutil_subdir = libosxutil @@ -14,6 +15,7 @@ BUILT_SOURCES = agi_pre.h.gch precompiled_header = agi_pre.h AM_CXXFLAGS += -Winvalid-pch -fpch-deps -fpch-preprocess -include agi_pre.h nodist_aegisub_2_2_SOURCES = agi_pre.h.gch +DISTCLEANFILES += agi_pre.h.gch endif SUBDIRS = \