G_LIB := ${P_LIB} G_ALL_LIB := all-${G_LIB} .PHONY: ${G_ALL_LIB} G_OBJS_LIB := objs-${G_LIB} .PHONY: ${G_OBJS_LIB} G_DEPS_LIB := deps-${G_LIB} .PHONY: ${G_DEPS_LIB} TARGET_${G_LIB} := ${BINDIR_${G_LIB}}${REALNAME_${G_LIB}} G_TESTS := ${P_TESTS} G_ALL_TESTS := all-${G_TESTS} .PHONY: ${G_ALL_TESTS} G_OBJS_TESTS := objs-${G_TESTS} .PHONY: ${G_OBJS_TESTS} G_DEPS_TESTS := deps-${G_TESTS} .PHONY: ${G_DEPS_TESTS} G_PHYSICS := ${P_PHYSICS} G_ALL_PHYSICS := all-${G_PHYSICS} .PHONY: ${G_ALL_PHYSICS} G_OBJS_PHYSICS := objs-${G_PHYSICS} .PHONY: ${G_OBJS_PHYSICS} G_DEPS_PHYSICS := deps-${G_PHYSICS} .PHONY: ${G_DEPS_PHYSICS} L_CLEANCMDS += cleanbin .PHONY: cleanbin cleanbin: L_CLEANCMDS += cleanobjs .PHONY: cleanobjs cleanobjs: L_CLEANCMDS += cleandeps .PHONY: cleandeps cleandeps: L_CLEANCMDS += clean .PHONY: clean clean: cleanobjs L_CLEANCMDS += cleanall .PHONY: cleanall cleanall: cleanbin cleanobjs cleandeps default: ${G_ALL_LIB} .PHONY: all all: ${G_ALL_LIB} ${G_ALL_TESTS} .PHONY: objs objs: ${G_OBJS_LIB} ${G_OBJS_TESTS} .PHONY: deps deps: ${G_DEPS_LIB} ${G_DEPS_TESTS}