Tweak
This commit is contained in:
@ -162,6 +162,12 @@ rule compile
|
||||
deps = gcc
|
||||
command = $CXX $CFLAGS $in -o $out $LIBS -MD -MF $depfile && strip $STRIP_ARGS $out
|
||||
|
||||
rule compile_sim
|
||||
description = CXX_SIM
|
||||
depfile = $out.d
|
||||
deps = gcc
|
||||
command = $CXX -DUEFORTH_SIM=1 $CFLAGS $in -o $out $LIBS -MD -MF $depfile && strip $STRIP_ARGS $out
|
||||
|
||||
rule compile_win32
|
||||
description = WIN_CL32
|
||||
deps = msvc
|
||||
@ -264,6 +270,10 @@ def Compile(target, source, implicit=[]):
|
||||
return Simple('compile', target, source, implicit)
|
||||
|
||||
|
||||
def CompileSim(target, source, implicit=[]):
|
||||
return Simple('compile_sim', target, source, implicit)
|
||||
|
||||
|
||||
def CompileW32(target, source, implicit=[]):
|
||||
return Simple('compile_win32', target, source, implicit)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user