Commit 571c2047 authored by Peter Griess's avatar Peter Griess

Remove generated .cpp files on 'make clean'

Summary:
- Add generated .cpp files to CLEANFILES so that they get swept up
during 'make clean' and friends

Test Plan: - autoreconf -i && ./configure && make check && make clean

Reviewed By: davejwatson@fb.com

FB internal diff: D1066270
parent 1c3d7f2a
...@@ -2,6 +2,8 @@ SUBDIRS = . test ...@@ -2,6 +2,8 @@ SUBDIRS = . test
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
CLEANFILES =
noinst_PROGRAMS = generate_fingerprint_tables noinst_PROGRAMS = generate_fingerprint_tables
generate_fingerprint_tables_SOURCES = build/GenerateFingerprintTables.cpp generate_fingerprint_tables_SOURCES = build/GenerateFingerprintTables.cpp
generate_fingerprint_tables_LDADD = libfolly.la generate_fingerprint_tables_LDADD = libfolly.la
...@@ -121,12 +123,15 @@ nobase_follyinclude_HEADERS = \ ...@@ -121,12 +123,15 @@ nobase_follyinclude_HEADERS = \
FormatTables.cpp: build/generate_format_tables.py FormatTables.cpp: build/generate_format_tables.py
build/generate_format_tables.py build/generate_format_tables.py
CLEANFILES += FormatTables.cpp
EscapeTables.cpp: build/generate_escape_tables.py EscapeTables.cpp: build/generate_escape_tables.py
build/generate_escape_tables.py build/generate_escape_tables.py
CLEANFILES += EscapeTables.cpp
GroupVarintTables.cpp: build/generate_varint_tables.py GroupVarintTables.cpp: build/generate_varint_tables.py
build/generate_varint_tables.py build/generate_varint_tables.py
CLEANFILES += GroupVarintTables.cpp
libfolly_la_SOURCES = \ libfolly_la_SOURCES = \
Benchmark.cpp \ Benchmark.cpp \
...@@ -168,6 +173,7 @@ endif ...@@ -168,6 +173,7 @@ endif
FingerprintTables.cpp: generate_fingerprint_tables FingerprintTables.cpp: generate_fingerprint_tables
./generate_fingerprint_tables ./generate_fingerprint_tables
CLEANFILES += FingerprintTables.cpp
libfollyfingerprint_la_SOURCES = \ libfollyfingerprint_la_SOURCES = \
FingerprintTables.cpp FingerprintTables.cpp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment