test/Makefile

changeset 106
a54115d554f7
parent 104
9d3dea320d8e
child 108
d2b1e67b2b48
equal deleted inserted replaced
105:f08fa6308d1f 106:a54115d554f7
40 OBJ = $(SRC:%.c=../build/%.$(OBJ_EXT)) 40 OBJ = $(SRC:%.c=../build/%.$(OBJ_EXT))
41 41
42 all: ../build/test1 42 all: ../build/test1
43 43
44 ../build/test1: $(OBJ) 44 ../build/test1: $(OBJ)
45 $(LD) $(LDFLAGS) $(LOFLAGS) ../build/test$(APP_EXT) $(OBJ) \ 45 $(LD) $(LDFLAGS) $(LOFLAGS)../build/test$(APP_EXT) $(OBJ) \
46 ../build/libucx.$(LIB_EXT) 46 ../build/libucx.$(LIB_EXT)
47 47
48 ../build/%.$(OBJ_EXT): %.c ../build 48 ../build/%.$(OBJ_EXT): %.c ../build
49 $(CC) $(CFLAGS) -I../ $(COFLAGS) $@ $< 49 $(CC) $(CFLAGS) -I../ $(COFLAGS)$@ $<
50 50
51 ../build: 51 ../build:
52 mkdir -p build 52 mkdir -p build

mercurial