1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
root := ../../../.. pre-targets := include ${root}/Makefile.cfg s = $(c) $(cpp) d = $(c:%.c=%.d) $(cpp:%.cpp=%.d) o = $(c:%.c=%.o) $(cpp:%.cpp=%.o) ${root}/lib/libsword.a: $(o) $(AR) crs $@ $^ ifneq ($(nodeps),yes) -include $(d) endif