ui/Makefile

changeset 54
97bafeca1c7c
parent 0
1f419bd32da1
child 156
62f1a55535e7
equal deleted inserted replaced
53:62205699cd0e 54:97bafeca1c7c
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

mercurial