rm /usr/lib/${SONAME}
-${G_LIB}: ${TARGET_$P}
+${G_ALL_LIB}: ${TARGET_$P}
${G_OBJS_LIB}: ${L_OBJS_$P}
${G_DEPS_LIB}: ${L_DEPS_$P}
G_LIB := ${P_LIB}
-.PHONY: ${G_LIB}
+
+G_ALL_LIB := all-${G_LIB}
+.PHONY: ${G_ALL_LIB}
G_OBJS_LIB := objs-${G_LIB}
.PHONY: ${G_OBJS_LIB}
G_TESTS := ${P_TESTS}
-.PHONY: ${G_TESTS}
+
+G_ALL_TESTS := all-${G_TESTS}
+.PHONY: ${G_ALL_TESTS}
G_OBJS_TESTS := objs-${G_TESTS}
.PHONY: ${G_OBJS_TESTS}
cleanall: cleanbin cleanobjs cleandeps
-default: ${G_LIB}
+default: ${G_ALL_LIB}
.PHONY: all
-all: ${G_LIB} ${G_TESTS}
+all: ${G_ALL_LIB} ${G_ALL_TESTS}
.PHONY: objs
objs: ${G_OBJS_LIB} ${G_OBJS_TESTS}
-${G_TESTS}: ${TARGET_$D}
+${G_ALL_TESTS}: ${TARGET_$D}
${G_TESTS}-${DIRNAME}: ${TARGET_$D}
# this test depends on the G_LIB library
-${G_TESTS}: ${TARGET_$D}
+${G_ALL_TESTS}: ${TARGET_$D}
${G_TESTS}-${DIRNAME}: ${TARGET_$D}
# this test depends on the G_LIB library