ui/Makefile

changeset 108
77254bd6dccb
parent 103
6606616eca9f
equal deleted inserted replaced
107:b34bd1557c6c 108:77254bd6dccb
31 31
32 OBJ_DIR = ../build/ 32 OBJ_DIR = ../build/
33 33
34 include common/objs.mk 34 include common/objs.mk
35 35
36 UI_LIB = ../build/lib/$(LIB_PREFIX)uitk$(LIB_EXT) 36 UI_LIB = ../build/$(BUILD_LIB_DIR)/$(LIB_PREFIX)uitk$(LIB_EXT)
37 UI_SHLIB = ../build/$(BUILD_LIB_DIR)/$(LIB_PREFIX)uitk$(SHLIB_EXT)
37 38
38 include $(TOOLKIT)/objs.mk 39 include $(TOOLKIT)/objs.mk
39 OBJ = $(TOOLKITOBJS) $(COMMONOBJS) 40 OBJ = $(TOOLKITOBJS) $(COMMONOBJS)
40 41
41 all: $(UI_LIB) 42 all: $(UI_LIB) $(UI_SHLIB)
42 43
43 include $(TOOLKIT)/Makefile 44 include $(TOOLKIT)/Makefile
44 45
45 $(COMMON_OBJPRE)uic_%$(OBJ_EXT): common/%.c 46 $(COMMON_OBJPRE)uic_%$(OBJ_EXT): common/%.c
46 $(CC) -o $@ -c -I../ucx/ $(CFLAGS) $(TK_CFLAGS) $< 47 $(CC) -o $@ -c -I../ucx/ $(CFLAGS) $(SHLIB_CFLAGS) $(TK_CFLAGS) $<
47 48

mercurial