test/Makefile

changeset 251
fae240d633fc
parent 250
b7d1317b138e
equal deleted inserted replaced
250:b7d1317b138e 251:fae240d633fc
50 ../build/release/test/ucxtest$(APP_EXT): FORCE $(OBJ) 50 ../build/release/test/ucxtest$(APP_EXT): FORCE $(OBJ)
51 $(LD) $(LDFLAGS) -o ../build/release/test/ucxtest$(APP_EXT) \ 51 $(LD) $(LDFLAGS) -o ../build/release/test/ucxtest$(APP_EXT) \
52 $(OBJ) ../build/release/libucx$(LIB_EXT) 52 $(OBJ) ../build/release/libucx$(LIB_EXT)
53 53
54 ../build/release/test/%$(OBJ_EXT): %.c 54 ../build/release/test/%$(OBJ_EXT): %.c
55 $(CC) $(CFLAGS) -I../ -o $@ -c $< 55 $(CC) $(CFLAGS) -I../src/ -o $@ -c $<
56 56
57 ../build/release/test: 57 ../build/release/test:
58 $(MKDIR) $(MKDIRFLAGS) ../build/release/test 58 $(MKDIR) $(MKDIRFLAGS) ../build/release/test
59 59
60 ../build/debug/test/ucxtest$(APP_EXT): FORCE $(OBJ_D) 60 ../build/debug/test/ucxtest$(APP_EXT): FORCE $(OBJ_D)
61 $(LD) $(LDFLAGS) -o ../build/debug/test/ucxtest$(APP_EXT) \ 61 $(LD) $(LDFLAGS) -o ../build/debug/test/ucxtest$(APP_EXT) \
62 $(OBJ_D) ../build/debug/libucx$(LIB_EXT) 62 $(OBJ_D) ../build/debug/libucx$(LIB_EXT)
63 63
64 ../build/debug/test/%$(OBJ_EXT): %.c 64 ../build/debug/test/%$(OBJ_EXT): %.c
65 $(CC) $(CFLAGS_D) -I../ -o $@ -c $< 65 $(CC) $(CFLAGS_D) -I../src/ -o $@ -c $<
66 66
67 ../build/debug/test: 67 ../build/debug/test:
68 $(MKDIR) $(MKDIRFLAGS) ../build/debug/test 68 $(MKDIR) $(MKDIRFLAGS) ../build/debug/test
69 69
70 # force rebuild of test binary (library might have been changed) 70 # force rebuild of test binary (library might have been changed)

mercurial