From 6a612fe4393225fc9526f125d3c5096a00e2a27b Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 25 Oct 2000 23:42:01 +0000 Subject: [PATCH] *** empty log message *** --- dtool/pptempl/Template.msvc.pp | 8 +++++++- dtool/pptempl/Template.unix.pp | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/dtool/pptempl/Template.msvc.pp b/dtool/pptempl/Template.msvc.pp index a49fec689f..da5840dcc8 100644 --- a/dtool/pptempl/Template.msvc.pp +++ b/dtool/pptempl/Template.msvc.pp @@ -466,6 +466,8 @@ $[install_lib_dir]\lib$[TARGET]$[dllext].lib : $[st_dir]\lib$[TARGET]$[dllext].l ///////////////////////////////////////////////////////////////////// #forscopes sed_bin_target +$[TARGET] : $[st_dir]\$[TARGET] + #define target $[st_dir]\$[TARGET] #define source $[SOURCE] #define script $[COMMAND] @@ -496,6 +498,8 @@ $[install_bin_dir]\$[TARGET] : $[st_dir]\$[TARGET] ///////////////////////////////////////////////////////////////////// #forscopes bin_target +$[TARGET] : $[st_dir]\$[TARGET].exe + bin_$[TARGET] = $[osfilename $[unique $[patsubst %.cxx %.c %.yxx %.lxx,$[st_dir]\%.obj,%,,$[get_sources]]]] #define target $[st_dir]\$[TARGET].exe #define sources $(bin_$[TARGET]) @@ -542,8 +546,10 @@ $[install_bin_dir]\$[TARGET].exe : $[st_dir]\$[TARGET].exe ///////////////////////////////////////////////////////////////////// #forscopes noinst_bin_target test_bin_target +$[TARGET] : $[st_dir]\$[TARGET].exe + bin_$[TARGET] = $[osfilename $[unique $[patsubst %.cxx %.c %.yxx %.lxx,$[st_dir]\%.obj,%,,$[get_sources]]]] -#define target $[st_dir]\$[TARGET] +#define target $[st_dir]\$[TARGET].exe #define sources $(bin_$[TARGET]) $[target] : $[sources] #if $[filter %.cxx %.yxx %.lxx,$[get_sources]] diff --git a/dtool/pptempl/Template.unix.pp b/dtool/pptempl/Template.unix.pp index e482fb0c59..5d2e995356 100644 --- a/dtool/pptempl/Template.unix.pp +++ b/dtool/pptempl/Template.unix.pp @@ -427,6 +427,8 @@ $[install_lib_dir]/lib$[TARGET].a : $[st_dir]/lib$[TARGET].a ///////////////////////////////////////////////////////////////////// #forscopes sed_bin_target +$[TARGET] : $[st_dir]/$[TARGET] + #define target $[st_dir]/$[TARGET] #define source $[SOURCE] #define script $[COMMAND] @@ -458,6 +460,8 @@ $[install_bin_dir]/$[TARGET] : $[st_dir]/$[TARGET] ///////////////////////////////////////////////////////////////////// #forscopes bin_target +$[TARGET] : $[st_dir]/$[TARGET] + bin_$[TARGET] = $[unique $[patsubst %.cxx %.c %.yxx %.lxx,$[st_dir]/%.o,%,,$[get_sources]]] #define target $[st_dir]/$[TARGET] #define sources $(bin_$[TARGET]) @@ -504,6 +508,8 @@ $[install_bin_dir]/$[TARGET] : $[st_dir]/$[TARGET] ///////////////////////////////////////////////////////////////////// #forscopes noinst_bin_target test_bin_target +$[TARGET] : $[st_dir]/$[TARGET] + bin_$[TARGET] = $[unique $[patsubst %.cxx %.c %.yxx %.lxx,$[st_dir]/%.o,%,,$[get_sources]]] #define target $[st_dir]/$[TARGET] #define sources $(bin_$[TARGET])