comparison Makefile @ 190:20ba68be2cd7

Fixed typos with conversion away from rules.make stuff
author lost@l-w.ca
date Wed, 11 Jan 2012 20:26:47 -0700
parents 8a84141ea6dd
children 68f41eaf44f2
comparison
equal deleted inserted replaced
189:8a84141ea6dd 190:20ba68be2cd7
32 lwar_srcs := add.c extract.c list.c lwar.c main.c remove.c replace.c 32 lwar_srcs := add.c extract.c list.c lwar.c main.c remove.c replace.c
33 lwar_srcs := $(addprefix lwar/,$(lwar_srcs)) 33 lwar_srcs := $(addprefix lwar/,$(lwar_srcs))
34 34
35 lwlib_srcs := lw_alloc.c lw_realloc.c lw_free.c lw_error.c lw_expr.c \ 35 lwlib_srcs := lw_alloc.c lw_realloc.c lw_free.c lw_error.c lw_expr.c \
36 lw_stack.c lw_string.c lw_stringlist.c lw_cmdline.c 36 lw_stack.c lw_string.c lw_stringlist.c lw_cmdline.c
37 lwlib_srcs := $(addprefix lwlib/,$(lwlib_srcs_local)) 37 lwlib_srcs := $(addprefix lwlib/,$(lwlib_srcs))
38 38
39 lwlink_srcs := main.c lwlink.c readfiles.c expr.c script.c link.c output.c map.c 39 lwlink_srcs := main.c lwlink.c readfiles.c expr.c script.c link.c output.c map.c
40 lwobjdump_srcs := objdump.c 40 lwobjdump_srcs := objdump.c
41 lwlink_srcs := $(addprefix lwlink/,$(lwlink_srcs)) 41 lwlink_srcs := $(addprefix lwlink/,$(lwlink_srcs))
42 lwobjdump_srcs := $(addprefix lwlink/,$(lwobjdump_srcs)) 42 lwobjdump_srcs := $(addprefix lwlink/,$(lwobjdump_srcs))
97 97
98 #.PHONY: lwlib 98 #.PHONY: lwlib
99 .INTERMEDIATE: lwlib 99 .INTERMEDIATE: lwlib
100 lwlib: lwlib/liblw.a 100 lwlib: lwlib/liblw.a
101 101
102 lwlib/liblw.a: $(lwlib_objs) lwlib/rules.make 102 lwlib/liblw.a: $(lwlib_objs)
103 @echo Linking $@ 103 @echo Linking $@
104 @$(AR) rc $@ $(lwlib_objs) 104 @$(AR) rc $@ $(lwlib_objs)
105 @$(RANLIB) $@ 105 @$(RANLIB) $@
106 106
107 alldeps := $(lwasm_deps) $(lwlink_deps) $(lwar_deps) $(lwlib_deps) ($lwobjdump_deps) $(lwcc_deps) 107 alldeps := $(lwasm_deps) $(lwlink_deps) $(lwar_deps) $(lwlib_deps) ($lwobjdump_deps) $(lwcc_deps)