29 BUILD_ROOT = .. |
29 BUILD_ROOT = .. |
30 include ../config.mk |
30 include ../config.mk |
31 |
31 |
32 OBJ_DIR = ../build/ |
32 OBJ_DIR = ../build/ |
33 |
33 |
34 include $(TOOLKIT)/objs.mk |
|
35 include $(TOOLKIT)/Makefile |
|
36 |
|
37 include common/objs.mk |
34 include common/objs.mk |
38 |
35 |
39 UI_LIB = ../build/lib/libuitk.$(LIB_EXT) |
36 UI_LIB = ../build/lib/libuitk.$(LIB_EXT) |
40 |
37 |
|
38 include $(TOOLKIT)/objs.mk |
41 OBJ = $(TOOLKITOBJS) $(COMMONOBJS) |
39 OBJ = $(TOOLKITOBJS) $(COMMONOBJS) |
42 |
40 |
43 all: $(UI_LIB) |
41 all: $(UI_LIB) |
44 |
42 |
45 $(UI_LIB): $(OBJ) |
43 include $(TOOLKIT)/Makefile |
46 $(AR) $(ARFLAGS) $(UI_LIB) $(OBJ) |
|
47 |
44 |
48 $(COMMON_OBJPRE)%.o: common/%.c |
45 $(COMMON_OBJPRE)%.o: common/%.c |
49 $(CC) -o $@ -c $(CFLAGS) $< |
46 $(CC) -o $@ -c $(CFLAGS) $< |
50 |
47 |