make clean cleans bison files

This commit is contained in:
David Rose 2004-06-04 12:34:58 +00:00
parent e43f374aa2
commit b65a5d1886
2 changed files with 8 additions and 6 deletions

View File

@ -226,7 +226,12 @@ $[TAB] rm -f $[deferred_objs]
#if $[lib_targets] $[static_lib_targets] $[bin_targets] $[test_bin_targets] #if $[lib_targets] $[static_lib_targets] $[bin_targets] $[test_bin_targets]
$[TAB] rm -f $[lib_targets] $[static_lib_targets] $[bin_targets] $[test_bin_targets] $[TAB] rm -f $[lib_targets] $[static_lib_targets] $[bin_targets] $[test_bin_targets]
#endif #endif
#if $[yxx_st_sources] $[lxx_st_sources]
$[TAB] rm -f $[patsubst %.yxx,%.cxx %.h,$[yxx_st_sources]] $[patsubst %.lxx,%.cxx,$[lxx_st_sources]]
#endif
#if $[py_sources]
$[TAB] rm -f *.pyc *.pyo // Also scrub out old generated Python code. $[TAB] rm -f *.pyc *.pyo // Also scrub out old generated Python code.
#endif
// 'cleanall' is intended to undo all the effects of running ppremake // 'cleanall' is intended to undo all the effects of running ppremake
// and building. It removes everything except the Makefile. // and building. It removes everything except the Makefile.
@ -234,9 +239,6 @@ cleanall : clean
#if $[st_sources] #if $[st_sources]
$[TAB] rm -rf $[ODIR] $[TAB] rm -rf $[ODIR]
#endif #endif
#if $[yxx_st_sources] $[lxx_st_sources]
$[TAB] rm -f $[patsubst %.yxx,%.cxx %.h,$[yxx_st_sources]] $[patsubst %.lxx,%.cxx,$[lxx_st_sources]]
#endif
#if $[ne $[DEPENDENCY_CACHE_FILENAME],] #if $[ne $[DEPENDENCY_CACHE_FILENAME],]
$[TAB] rm -f $[DEPENDENCY_CACHE_FILENAME] $[TAB] rm -f $[DEPENDENCY_CACHE_FILENAME]
#endif #endif

View File

@ -198,6 +198,9 @@ $[TAB] rm -f $[patsubst %,$[%_obj],$[st_sources]]
#if $[lib_targets] $[static_lib_targets] $[bin_targets] $[test_bin_targets] #if $[lib_targets] $[static_lib_targets] $[bin_targets] $[test_bin_targets]
$[TAB] rm -f $[lib_targets] $[static_lib_targets] $[bin_targets] $[test_bin_targets] $[TAB] rm -f $[lib_targets] $[static_lib_targets] $[bin_targets] $[test_bin_targets]
#endif #endif
#if $[yxx_st_sources] $[lxx_st_sources]
$[TAB] rm -f $[patsubst %.yxx,%.cxx %.h,$[yxx_st_sources]] $[patsubst %.lxx,%.cxx,$[lxx_st_sources]]
#endif
#if $[py_sources] #if $[py_sources]
$[TAB] rm -f *.pyc *.pyo // Also scrub out old generated Python code. $[TAB] rm -f *.pyc *.pyo // Also scrub out old generated Python code.
#endif #endif
@ -208,9 +211,6 @@ cleanall : clean
#if $[st_sources] #if $[st_sources]
$[TAB] rm -rf $[ODIR] $[TAB] rm -rf $[ODIR]
#endif #endif
#if $[yxx_st_sources] $[lxx_st_sources]
$[TAB] rm -f $[patsubst %.yxx,%.cxx %.h,$[yxx_st_sources]] $[patsubst %.lxx,%.cxx,$[lxx_st_sources]]
#endif
#if $[ne $[DEPENDENCY_CACHE_FILENAME],] #if $[ne $[DEPENDENCY_CACHE_FILENAME],]
$[TAB] rm -f $[DEPENDENCY_CACHE_FILENAME] $[TAB] rm -f $[DEPENDENCY_CACHE_FILENAME]
#endif #endif