comparison lwbasic/rules.make @ 29:bc96cd02fbf4

Added basic symbol table structure
author lost@l-w.ca
date Fri, 28 Jan 2011 22:35:04 -0700
parents 26aa76da75ad
children bcd532a90e53
comparison
equal deleted inserted replaced
28:9ac1c97d01db 29:bc96cd02fbf4
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 emit.c 4 lwbasic_lsrcs := main.c input.c compiler.c lexer.c emit.c symtab.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