This commit is contained in:
Brad Nelson
2023-12-31 22:07:03 -08:00
parent b331d712d0
commit 14ede079b7
2 changed files with 38 additions and 1 deletions

View File

@ -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)