src/tools/Makefile

changeset 488
2ad9bcc2ae51
parent 415
d938228c382e
child 504
c094afcdfb27
equal deleted inserted replaced
487:f2b0e48aa483 488:2ad9bcc2ae51
40 WSTOOL_OBJ = $(WSTOOL_SRC:%.c=$(BUILD_ROOT)/build/tools/%$(OBJ_EXT)) 40 WSTOOL_OBJ = $(WSTOOL_SRC:%.c=$(BUILD_ROOT)/build/tools/%$(OBJ_EXT))
41 41
42 all: $(BUILD_ROOT)/build/tools $(BUILD_ROOT)/build/bin/wstool 42 all: $(BUILD_ROOT)/build/tools $(BUILD_ROOT)/build/bin/wstool
43 43
44 $(BUILD_ROOT)/build/bin/wstool: $(BUILD_ROOT)/build/tools $(WSTOOL_OBJ) 44 $(BUILD_ROOT)/build/bin/wstool: $(BUILD_ROOT)/build/tools $(WSTOOL_OBJ)
45 $(CC) -o $@ $(WSTOOL_OBJ) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) 45 $(CC) -o $@ $(WSTOOL_OBJ) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) $(RPATH_WS_LIB_FLAG)
46 46
47 $(BUILD_ROOT)/build/tools/%$(OBJ_EXT): %.c 47 $(BUILD_ROOT)/build/tools/%$(OBJ_EXT): %.c
48 $(CC) $(CFLAGS) -c -o $@ $< 48 $(CC) $(CFLAGS) -c -o $@ $<
49 49
50 $(BUILD_ROOT)/build/tools: 50 $(BUILD_ROOT)/build/tools:

mercurial