test/Makefile

changeset 104
9d3dea320d8e
parent 103
08018864fb91
child 106
a54115d554f7
equal deleted inserted replaced
103:08018864fb91 104:9d3dea320d8e
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