forked from aregm/nff-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (24 loc) · 752 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2017 Intel Corporation.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
PATH_TO_MK = mk
SUBDIRS = nff-go-base dpdk test examples
CI_TESTING_TARGETS = packet internal/low common
TESTING_TARGETS = $(CI_TESTING_TARGETS) test/stability
all: $(SUBDIRS)
debug:
$(MAKE) all NFF_GO_DEBUG=y
dpdk: nff-go-base
test: dpdk
examples: dpdk
perf_testing:
$(MAKE) -C test perf_testing
.PHONY: testing $(TESTING_TARGETS)
.NOTPARALLEL: testing $(TESTING_TARGETS)
testing: $(TESTING_TARGETS)
.PHONY: citesting $(CI_TESTING_TARGETS)
.NOTPARALLEL: citesting $(CI_TESTING_TARGETS)
citesting: $(CI_TESTING_TARGETS)
$(TESTING_TARGETS):
$(MAKE) -C $@ testing
include $(PATH_TO_MK)/intermediate.mk