fix prebuilt bison rules

This commit is contained in:
David Rose 2004-11-18 00:25:24 +00:00
parent d0101e74ef
commit 5ecb8550d6

View File

@ -794,14 +794,14 @@ $[TAB] move /y y.tab.c $[target]
$[TAB] move /y y.tab.h $[target_header] $[TAB] move /y y.tab.h $[target_header]
$[osfilename $[target_header]] : $[patsubst %,$[osfilename %],$[target]] $[osfilename $[target_header]] : $[patsubst %,$[osfilename %],$[target]]
$[osfilename $[target_prebuilt]] : $[patsubst %,$[osfilename %],$[target]] $[osfilename $[target_prebuilt]] : $[patsubst %,$[osfilename %],$[target]]
$[TAB] xcopy /I/Y $[osfilename $[target]] $[osfilename $[target_prebuilt]] $[TAB] copy /Y $[osfilename $[target]] $[osfilename $[target_prebuilt]]
$[osfilename $[target_header_prebuilt]] : $[patsubst %,$[osfilename %],$[target_header]] $[osfilename $[target_header_prebuilt]] : $[patsubst %,$[osfilename %],$[target_header]]
$[TAB] xcopy /I/Y $[osfilename $[target_header]] $[osfilename $[target_header_prebuilt]] $[TAB] copy /Y $[osfilename $[target_header]] $[osfilename $[target_header_prebuilt]]
#else // HAVE_BISON #else // HAVE_BISON
$[osfilename $[target]] : $[patsubst %,$[osfilename %],$[target_prebuilt]] $[osfilename $[target]] : $[patsubst %,$[osfilename %],$[target_prebuilt]]
$[TAB] xcopy /I/Y $[osfilename $[target_prebuilt]] $[osfilename $[target]] $[TAB] copy /Y $[osfilename $[target_prebuilt]] $[osfilename $[target]]
$[osfilename $[target_header]] : $[patsubst %,$[osfilename %],$[target_header_prebuilt]] $[osfilename $[target_header]] : $[patsubst %,$[osfilename %],$[target_header_prebuilt]]
$[TAB] xcopy /I/Y $[osfilename $[target_header_prebuilt]] $[osfilename $[target_header]] $[TAB] copy /Y $[osfilename $[target_header_prebuilt]] $[osfilename $[target_header]]
#endif // HAVE_BISON #endif // HAVE_BISON
#end file #end file
@ -819,10 +819,10 @@ $[TAB] $[FLEX] $[LFLAGS] $[if $[YACC_PREFIX],-P$[YACC_PREFIX]] -olex.yy.c $[file
$[TAB] $[subst ',",$[SED]] $[TAB] $[subst ',",$[SED]]
$[TAB] if exist lex.yy.c del /f lex.yy.c $[TAB] if exist lex.yy.c del /f lex.yy.c
$[osfilename $[target_prebuilt]] : $[patsubst %,$[osfilename %],$[target]] $[osfilename $[target_prebuilt]] : $[patsubst %,$[osfilename %],$[target]]
$[TAB] xcopy /I/Y $[osfilename $[target]] $[osfilename $[target_prebuilt]] $[TAB] copy /Y $[osfilename $[target]] $[osfilename $[target_prebuilt]]
#else // HAVE_BISON #else // HAVE_BISON
$[osfilename $[target]] : $[patsubst %,$[osfilename %],$[target_prebuilt]] $[osfilename $[target]] : $[patsubst %,$[osfilename %],$[target_prebuilt]]
$[TAB] xcopy /I/Y $[osfilename $[target_prebuilt]] $[osfilename $[target]] $[TAB] copy /Y $[osfilename $[target_prebuilt]] $[osfilename $[target]]
#endif // HAVE_BISON #endif // HAVE_BISON
#end file #end file