Place TARGETS after sources. The evaluation of it doesn't depend on it's position in the file, so remove the incorrect comment Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 563911d5f6da..703333fe1b42 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ sources = cyclictest.c \ sigwaittest.c \ svsematest.c +TARGETS = $(sources:.c=) LIBS = -lrt -lpthread RTTESTLIB = -lrttest -L$(OBJDIR) EXTRA_LIBS ?= -ldl # for get_cpu @@ -68,10 +69,8 @@ ifdef HAVE_PARSE_CPUSTRING_ALL endif endif -# Include any arch specific makefiles here. Make sure that TARGETS aren't -# evaluated until AFTER this include +# Include any arch specific makefiles here. include src/arch/bionic/Makefile -TARGETS = $(sources:.c=) VPATH = src/cyclictest: VPATH += src/signaltest: -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html