mirror of
https://github.com/pnx/m16vm
synced 2026-06-16 03:44:55 +02:00
as/lexer.c: move hex/dec parse functions to as/lexer/number.c
This commit is contained in:
parent
caed36a936
commit
040caee7f4
4 changed files with 112 additions and 59 deletions
3
Makefile
3
Makefile
|
|
@ -29,7 +29,7 @@ m16vm : vm/vm.o vm/cpu.o vm/mm.o vm/instr_decode.o \
|
|||
vm/syscall.o vm/program.o vm/debug.o lib/libm16.a
|
||||
$(QUIET_LD)$(LD) $(LDFLAGS) -o $@ $^
|
||||
|
||||
m16as : as/as.o as/parser.o as/lexer.o \
|
||||
m16as : as/as.o as/parser.o as/lexer.o as/lexer/number.o \
|
||||
as/codegen.o as/symtab.o \
|
||||
as/ast.o lib/libm16.a
|
||||
$(QUIET_LD)$(LD) $(LDFLAGS) -o $@ $^
|
||||
|
|
@ -42,6 +42,7 @@ lib/libm16.a : lib/vector.o lib/error.o
|
|||
|
||||
clean :
|
||||
$(RM) as/*.o
|
||||
$(RM) as/lexer/*.o
|
||||
$(RM) vm/*.o
|
||||
$(RM) lib/*.o
|
||||
$(RM) lib/*.a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue