forked from ican2002/dpdk-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindows.mk
More file actions
33 lines (26 loc) · 1.1 KB
/
windows.mk
File metadata and controls
33 lines (26 loc) · 1.1 KB
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
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
#=======================================================================================================================
# Environment Variables
#=======================================================================================================================
PREFIX = $(USERPROFILE)
!if [set LIBDPDK_PATH=$(PREFIX)\AppData\Local\dpdk]
!endif
#=======================================================================================================================
# Tools
#=======================================================================================================================
CARGO = cargo
RM = del
!if [set CC=clang]
!endif
#=======================================================================================================================
# Switches
#=======================================================================================================================
# Set build mode.
!ifndef DEBUG
BUILD = release
!else
BUILD = dev
!endif
# Set build flags.
FLAGS = $(FLAGS) --profile $(BUILD) --features=mlx4