aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2014-04-09 15:53:18 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-04-18 16:21:08 +0400
commit8eae2a961bf91d47756c9a6c9baf1a4a98799611 (patch)
treeb4ddfeba70f16e07102963b7025c538d731b27a5 /test
parent7b76d38490b82925f1310dc51019e30fda8cef9f (diff)
Makefile cleanup
GCC option-fPIC decreases performance with static libraries and should be enable only when really needed. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Diffstat (limited to 'test')
-rw-r--r--test/api_test/Makefile8
-rw-r--r--test/example/Makefile2
2 files changed, 5 insertions, 5 deletions
diff --git a/test/api_test/Makefile b/test/api_test/Makefile
index 0398cd23..33111777 100644
--- a/test/api_test/Makefile
+++ b/test/api_test/Makefile
@@ -59,19 +59,19 @@ $(OBJ_DIR)/%.o: %.c
# Link rule
#
$(ODP_ATOMIC): $(ODP_LIB) $(ATOMIC_OBJS)
- $(ECHO) Linking $<
+ $(ECHO) Linking $@
$(CC) $(LDFLAGS) $(ATOMIC_OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
$(ODP_SHM): $(ODP_LIB) $(SHM_OBJS)
- $(ECHO) Linking $<
+ $(ECHO) Linking $@
$(CC) $(LDFLAGS) $(SHM_OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
$(ODP_RING): $(ODP_LIB) $(RING_OBJS)
- $(ECHO) Linking $<
+ $(ECHO) Linking $@
$(CC) $(LDFLAGS) $(RING_OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
$(ODP_TIM): $(ODP_LIB) $(TIM_OBJS)
- $(ECHO) Linking $<
+ $(ECHO) Linking $@
$(CC) $(LDFLAGS) $(TIM_OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
.PHONY: clean
diff --git a/test/example/Makefile b/test/example/Makefile
index 2dc148a5..6b104bad 100644
--- a/test/example/Makefile
+++ b/test/example/Makefile
@@ -31,7 +31,7 @@ $(OBJ_DIR)/%.o: %.c
# Link rule
#
$(ODP_APP): $(ODP_LIB) $(OBJS)
- $(ECHO) Linking $<
+ $(ECHO) Linking $@
$(CC) $(LDFLAGS) $(OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
.PHONY: clean