comparison Makefile @ 16:2f98cf1558e1

Added building of manual from docbook source to Makefile
author lost@l-w.ca
date Sat, 22 Jan 2011 17:00:15 -0700
parents a0317b794b7b
children 4969bd6f3b7d
comparison
equal deleted inserted replaced
15:ed5cbe83cbd3 16:2f98cf1558e1
26 lwlink/lwobjdump$(PROGSUFFIX) 26 lwlink/lwobjdump$(PROGSUFFIX)
27 27
28 .PHONY: all 28 .PHONY: all
29 all: $(MAIN_TARGETS) 29 all: $(MAIN_TARGETS)
30 30
31 subdirs := lwasm lwlink lwar lwlib 31 subdirs := lwasm lwlink lwar lwlib docs
32 32
33 -include $(subdirs:=/rules.make) 33 -include $(subdirs:=/rules.make)
34 34
35 lwasm_objs := $(lwasm_srcs:.c=.o) 35 lwasm_objs := $(lwasm_srcs:.c=.o)
36 lwlink_objs := $(lwlink_srcs:.c=.o) 36 lwlink_objs := $(lwlink_srcs:.c=.o)
102 @rm -f $(lwasm_deps) $(lwlink_deps) $(lwar_deps) $(lwlib_deps) $(lwobjdump_deps) 102 @rm -f $(lwasm_deps) $(lwlink_deps) $(lwar_deps) $(lwlib_deps) $(lwobjdump_deps)
103 @rm -f lwlib/liblw.a lwasm/lwasm$(PROGSUFFIX) lwlink/lwlink$(PROGSUFFIX) lwlink/lwobjdump$(PROGSUFFIX) lwar/lwar$(PROGSUFFIX) 103 @rm -f lwlib/liblw.a lwasm/lwasm$(PROGSUFFIX) lwlink/lwlink$(PROGSUFFIX) lwlink/lwobjdump$(PROGSUFFIX) lwar/lwar$(PROGSUFFIX)
104 @rm -f $(lwasm_objs) $(lwlink_objs) $(lwar_objs) $(lwlib_objs) $(lwobjdump_objs) 104 @rm -f $(lwasm_objs) $(lwlink_objs) $(lwar_objs) $(lwlib_objs) $(lwobjdump_objs)
105 @rm -f $(extra_clean) 105 @rm -f $(extra_clean)
106 106
107 .PHONY: realclean
108 realclean: clean
109 @echo "Cleaning up even more"
110 @rm -f docs/manual/*.html docs/manual/*.pdf
111
107 print-%: 112 print-%:
108 @echo $* = $($*) 113 @echo $* = $($*)
109 114
110 .PHONY: install 115 .PHONY: install
111 install: 116 install: