--- a/ui/Makefile Tue Jul 22 19:15:44 2014 +0200 +++ b/ui/Makefile Sun Aug 24 13:31:07 2014 +0200 @@ -31,19 +31,16 @@ OBJ_DIR = ../build/ -include $(TOOLKIT)/objs.mk -include $(TOOLKIT)/Makefile - include common/objs.mk UI_LIB = ../build/lib/libuitk.$(LIB_EXT) +include $(TOOLKIT)/objs.mk OBJ = $(TOOLKITOBJS) $(COMMONOBJS) all: $(UI_LIB) -$(UI_LIB): $(OBJ) - $(AR) $(ARFLAGS) $(UI_LIB) $(OBJ) +include $(TOOLKIT)/Makefile $(COMMON_OBJPRE)%.o: common/%.c $(CC) -o $@ -c $(CFLAGS) $<