mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-08-07 18:25:03 +00:00
Add rules for PLASMA PLASM
This commit is contained in:
@@ -52,6 +52,7 @@ MEMTEST = MEMTEST\#FE1000
|
|||||||
FIBER = FIBER\#FE1000
|
FIBER = FIBER\#FE1000
|
||||||
LONGJMP = LONGJMP\#FE1000
|
LONGJMP = LONGJMP\#FE1000
|
||||||
PLASM = plasm
|
PLASM = plasm
|
||||||
|
PLASMAPLASM = PLASM\#FE1000
|
||||||
INCS = toolsrc/plasm.h toolsrc/tokens.h toolsrc/symbols.h toolsrc/lex.h toolsrc/parse.h toolsrc/codegen.h
|
INCS = toolsrc/plasm.h toolsrc/tokens.h toolsrc/symbols.h toolsrc/lex.h toolsrc/parse.h toolsrc/codegen.h
|
||||||
OBJS = toolsrc/plasm.c toolsrc/parse.c toolsrc/lex.c toolsrc/codegen.c
|
OBJS = toolsrc/plasm.c toolsrc/parse.c toolsrc/lex.c toolsrc/codegen.c
|
||||||
#
|
#
|
||||||
@@ -84,6 +85,10 @@ clean:
|
|||||||
$(PLASM): $(OBJS) $(INCS)
|
$(PLASM): $(OBJS) $(INCS)
|
||||||
cc $(OBJS) -o $(PLASM)
|
cc $(OBJS) -o $(PLASM)
|
||||||
|
|
||||||
|
$(PLASMAPLASM): toolsrc/plasm.pla toolsrc/lex.pla toolsrc/parse.pla toolsrc/codegen.pla
|
||||||
|
./$(PLASM) -AMOW < toolsrc/plasm.pla > toolsrc/plasm.a
|
||||||
|
acme --setpc 4094 -o $(PLASMAPLASM) toolsrc/plasm.a
|
||||||
|
|
||||||
#
|
#
|
||||||
# PLASMA VMs
|
# PLASMA VMs
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user