summaryrefslogtreecommitdiff
path: root/examples/ptpclient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ptpclient/Makefile')
-rw-r--r--examples/ptpclient/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/ptpclient/Makefile b/examples/ptpclient/Makefile
index 536b4a8..a2f4638 100644
--- a/examples/ptpclient/Makefile
+++ b/examples/ptpclient/Makefile
@@ -1,6 +1,12 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2015 Intel Corporation
+# binary name
+APP = ptpclient
+
+# all source are stored in SRCS-y
+SRCS-y := ptpclient.c
+
ifeq ($(RTE_SDK),)
$(error "Please define RTE_SDK environment variable")
endif
@@ -10,12 +16,6 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
-# binary name
-APP = ptpclient
-
-# all source are stored in SRCS-y
-SRCS-y := ptpclient.c
-
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)