Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
6a612fe439
2 changed files with 13 additions and 1 deletions
  1. 7 1
      dtool/pptempl/Template.msvc.pp
  2. 6 0
      dtool/pptempl/Template.unix.pp

+ 7 - 1
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
 #forscopes sed_bin_target
+$[TARGET] : $[st_dir]\$[TARGET]
+
 #define target $[st_dir]\$[TARGET]
 #define target $[st_dir]\$[TARGET]
 #define source $[SOURCE]
 #define source $[SOURCE]
 #define script $[COMMAND]
 #define script $[COMMAND]
@@ -496,6 +498,8 @@ $[install_bin_dir]\$[TARGET] : $[st_dir]\$[TARGET]
 /////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////
 
 
 #forscopes bin_target
 #forscopes bin_target
+$[TARGET] : $[st_dir]\$[TARGET].exe
+
 bin_$[TARGET] = $[osfilename $[unique $[patsubst %.cxx %.c %.yxx %.lxx,$[st_dir]\%.obj,%,,$[get_sources]]]]
 bin_$[TARGET] = $[osfilename $[unique $[patsubst %.cxx %.c %.yxx %.lxx,$[st_dir]\%.obj,%,,$[get_sources]]]]
 #define target $[st_dir]\$[TARGET].exe
 #define target $[st_dir]\$[TARGET].exe
 #define sources $(bin_$[TARGET])
 #define sources $(bin_$[TARGET])
@@ -542,8 +546,10 @@ $[install_bin_dir]\$[TARGET].exe : $[st_dir]\$[TARGET].exe
 /////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////
 
 
 #forscopes noinst_bin_target test_bin_target
 #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]]]]
 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])
 #define sources $(bin_$[TARGET])
 $[target] : $[sources]
 $[target] : $[sources]
 #if $[filter %.cxx %.yxx %.lxx,$[get_sources]]
 #if $[filter %.cxx %.yxx %.lxx,$[get_sources]]

+ 6 - 0
dtool/pptempl/Template.unix.pp

@@ -427,6 +427,8 @@ $[install_lib_dir]/lib$[TARGET].a : $[st_dir]/lib$[TARGET].a
 /////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////
 
 
 #forscopes sed_bin_target
 #forscopes sed_bin_target
+$[TARGET] : $[st_dir]/$[TARGET]
+
 #define target $[st_dir]/$[TARGET]
 #define target $[st_dir]/$[TARGET]
 #define source $[SOURCE]
 #define source $[SOURCE]
 #define script $[COMMAND]
 #define script $[COMMAND]
@@ -458,6 +460,8 @@ $[install_bin_dir]/$[TARGET] : $[st_dir]/$[TARGET]
 /////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////
 
 
 #forscopes bin_target
 #forscopes bin_target
+$[TARGET] : $[st_dir]/$[TARGET]
+
 bin_$[TARGET] = $[unique $[patsubst %.cxx %.c %.yxx %.lxx,$[st_dir]/%.o,%,,$[get_sources]]]
 bin_$[TARGET] = $[unique $[patsubst %.cxx %.c %.yxx %.lxx,$[st_dir]/%.o,%,,$[get_sources]]]
 #define target $[st_dir]/$[TARGET]
 #define target $[st_dir]/$[TARGET]
 #define sources $(bin_$[TARGET])
 #define sources $(bin_$[TARGET])
@@ -504,6 +508,8 @@ $[install_bin_dir]/$[TARGET] : $[st_dir]/$[TARGET]
 /////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////
 
 
 #forscopes noinst_bin_target test_bin_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]]]
 bin_$[TARGET] = $[unique $[patsubst %.cxx %.c %.yxx %.lxx,$[st_dir]/%.o,%,,$[get_sources]]]
 #define target $[st_dir]/$[TARGET]
 #define target $[st_dir]/$[TARGET]
 #define sources $(bin_$[TARGET])
 #define sources $(bin_$[TARGET])