ucx/Makefile

changeset 742
7e67689241fd
parent 602
ff9e8d2e2f3c
child 747
efbd59642577
equal deleted inserted replaced
741:e9a5dd08258d 742:7e67689241fd
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 # POSSIBILITY OF SUCH DAMAGE. 26 # POSSIBILITY OF SUCH DAMAGE.
27 # 27 #
28 28
29 include ../$(CONF).mk 29 BUILD_ROOT = ..
30
31 include ../config.mk
30 32
31 # list of source files 33 # list of source files
32 SRC = utils.c 34 SRC = utils.c
33 SRC += list.c 35 SRC += list.c
34 SRC += map.c 36 SRC += map.c
49 51
50 ../build/libucx$(LIB_EXT): $(OBJ) 52 ../build/libucx$(LIB_EXT): $(OBJ)
51 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libucx$(LIB_EXT) $(OBJ) 53 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libucx$(LIB_EXT) $(OBJ)
52 54
53 ../build/ucx/%$(OBJ_EXT): %.c 55 ../build/ucx/%$(OBJ_EXT): %.c
54 $(CC) $(CFLAGS) $(COFLAGS)$@ $< 56 $(CC) $(CFLAGS) -c -o $@ $<
55 57
56 ../build/ucx: 58 ../build/ucx:
57 $(MKDIR) $(MKDIRFLAGS) ../build/ucx 59 $(MKDIR) $(MKDIRFLAGS) ../build/ucx

mercurial