--- a/test/Makefile Thu Oct 22 11:35:40 2015 +0200 +++ b/test/Makefile Mon Oct 26 14:09:45 2015 +0100 @@ -47,7 +47,7 @@ all: ../build/release/test ../build/release/test/ucxtest$(APP_EXT) debug: ../build/debug/test ../build/debug/test/ucxtest$(APP_EXT) -../build/release/test/ucxtest$(APP_EXT): $(OBJ) +../build/release/test/ucxtest$(APP_EXT): FORCE $(OBJ) $(LD) $(LDFLAGS) -o ../build/release/test/ucxtest$(APP_EXT) \ $(OBJ) ../build/release/libucx$(LIB_EXT) @@ -57,7 +57,7 @@ ../build/release/test: $(MKDIR) $(MKDIRFLAGS) ../build/release/test -../build/debug/test/ucxtest$(APP_EXT): $(OBJ_D) +../build/debug/test/ucxtest$(APP_EXT): FORCE $(OBJ_D) $(LD) $(LDFLAGS) -o ../build/debug/test/ucxtest$(APP_EXT) \ $(OBJ_D) ../build/debug/libucx$(LIB_EXT) @@ -66,3 +66,7 @@ ../build/debug/test: $(MKDIR) $(MKDIRFLAGS) ../build/debug/test + +# force rebuild of test binary (library might have been changed) +FORCE: +