Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EzPC-Custom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rasoul Akhavan Mahdavi
EzPC-Custom
Commits
7bb6cf57
Commit
7bb6cf57
authored
4 years ago
by
Mayank Rathee
Browse files
Options
Downloads
Patches
Plain Diff
Removed old Makefile. Only CMake build supported.
parent
b4abc73b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Porthos/makefile
+0
-30
0 additions, 30 deletions
Porthos/makefile
with
0 additions
and
30 deletions
Porthos/makefile
deleted
100644 → 0
+
0
−
30
View file @
b4abc73b
CXX
=
g++
SRC_CPP_FILES
:=
$(
wildcard src/
*
.cpp
)
EX_NN_CPP_FILES
:=
$(
wildcard src/example_neural_nets/
*
.cpp
)
OBJ_CPP_FILES
:=
$(
wildcard util/
*
.cpp
)
OBJ_FILES
:=
$(
patsubst src/example_neural_nets/%.cpp, src/example_neural_nets/%.o,
$(
EX_NN_CPP_FILES
))
OBJ_FILES
+=
$(
patsubst src/%.cpp, src/%.o,
$(
SRC_CPP_FILES
))
OBJ_FILES
+=
$(
patsubst util/%.cpp, util/%.o,
$(
OBJ_CPP_FILES
))
HEADER_FILES
=
$(
wildcard src/
*
.h
)
FLAGS
:=
-w
-std
=
c++14
-pthread
-msse4
.1
-maes
-msse2
-mpclmul
-fpermissive
-fpic
-fopenmp
LIBS
:=
-lcrypto
-lssl
OBJ_INCLUDES
:=
-I
'lib_eigen/'
-I
'src/'
UTIL_INCLUDES
:=
$($(
OBJ_INCLUDES
)
,
-L
./
)
all
:
FLAGS += -O3
all
:
Porthos.out
debug
:
FLAGS += -O0 -g
debug
:
Porthos.out
Porthos.out
:
$(OBJ_FILES)
g++
$(
FLAGS
)
-o
$@
$(
OBJ_FILES
)
$(
UTIL_INCLUDES
)
$(
LIBS
)
%.o
:
%.cpp $(HEADER_FILES)
$(
CXX
)
$(
FLAGS
)
-c
$<
-o
$@
$(
OBJ_INCLUDES
)
clean
:
rm
-rf
Porthos.out
rm
-rf
src/
*
.o util/
*
.o src/example_neural_nets/
*
.o
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment