comparison lwbasic/rules.make @ 26:26aa76da75ad

Additional parsing in function/sub; emission of prolog/epilog code
author lost@l-w.ca
date Thu, 27 Jan 2011 20:44:57 -0700
parents 87590f43e76d
children bc96cd02fbf4
comparison
equal deleted inserted replaced
25:87590f43e76d 26:26aa76da75ad
1 dirname := $(dir $(lastword $(MAKEFILE_LIST))) 1 dirname := $(dir $(lastword $(MAKEFILE_LIST)))
2 lwbasic_dir := $(dirname) 2 lwbasic_dir := $(dirname)
3 3
4 lwbasic_lsrcs := main.c input.c compiler.c lexer.c 4 lwbasic_lsrcs := main.c input.c compiler.c lexer.c emit.c
5 5
6 lwbasic_srcs := $(addprefix $(dirname),$(lwbasic_lsrcs)) 6 lwbasic_srcs := $(addprefix $(dirname),$(lwbasic_lsrcs))
7 lwbasic_objs := $(lwbasic_srcs:.c=.o) 7 lwbasic_objs := $(lwbasic_srcs:.c=.o)
8 lwbasic_deps := $(lwbasic_srcs:.c=.d) 8 lwbasic_deps := $(lwbasic_srcs:.c=.d)
9 9