comparison Makefile @ 296:83fcc1ed6ad6 ccdev

Checkpoint lwcc development Initial untested version of the preprocessor with macro expansion but without file inclusion.
author William Astle <lost@l-w.ca>
date Sat, 14 Sep 2013 20:04:38 -0600
parents 4b17780f2777
children d85d173ba120
comparison
equal deleted inserted replaced
295:4b17780f2777 296:83fcc1ed6ad6
99 lwcc_driver_srcs := driver-main.c 99 lwcc_driver_srcs := driver-main.c
100 lwcc_driver_srcs := $(addprefix lwcc/,$(lwcc_driver_srcs)) 100 lwcc_driver_srcs := $(addprefix lwcc/,$(lwcc_driver_srcs))
101 lwcc_driver_objs := $(lwcc_driver_srcs:.c=.o) 101 lwcc_driver_objs := $(lwcc_driver_srcs:.c=.o)
102 lwcc_driver_deps := $(lwcc_driver_srcs:.c=.d) 102 lwcc_driver_deps := $(lwcc_driver_srcs:.c=.d)
103 103
104 lwcc_cpp_srcs := cpp-main.c cpp.c lex.c strbuf.c token.c 104 lwcc_cpp_srcs := cpp-main.c cpp.c lex.c strbuf.c token.c preproc.c symbol.c
105 lwcc_cpp_srcs := $(addprefix lwcc/,$(lwcc_cpp_srcs)) 105 lwcc_cpp_srcs := $(addprefix lwcc/,$(lwcc_cpp_srcs))
106 lwcc_cpp_objs := $(lwcc_cpp_srcs:.c=.o) 106 lwcc_cpp_objs := $(lwcc_cpp_srcs:.c=.o)
107 lwcc_cpp_deps := $(lwcc_cpp_srcs:.c=.d) 107 lwcc_cpp_deps := $(lwcc_cpp_srcs:.c=.d)
108 108
109 lwcc_deps := $(lwcc_cpp_deps) $(lwcc_driver_deps) 109 lwcc_deps := $(lwcc_cpp_deps) $(lwcc_driver_deps)