summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2015-10-14 14:49:22 +0200
committerJohn Kacur <jkacur@redhat.com>2015-10-14 14:49:22 +0200
commitafc0f753c3f626368afcee3cc2d7193d32ac04e1 (patch)
tree757e94ae8e8e45d53428988eef09f473a9e7cdd0
parent32933aadb3c7a76f9037c4b90d780e6b8a2f934e (diff)
downloadrt-tests-afc0f753c3f626368afcee3cc2d7193d32ac04e1.tar.gz
Makefile: Move TARGETS back to a more logical place in the Makefile
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@redhat.com>
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 563911d..703333f 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: