Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MP3
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
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
ajf5
MP3
Commits
0b5aa101
Commit
0b5aa101
authored
4 years ago
by
ajf5
Browse files
Options
Downloads
Patches
Plain Diff
fix makefile
parent
807f5e41
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+3
-12
3 additions, 12 deletions
Makefile
with
3 additions
and
12 deletions
Makefile
+
3
−
12
View file @
0b5aa101
APP
:=
Node
APP2
:=
Wc
APP3
:=
Wr
INC_DIR
:=
./inc
CFLAGS
:=
-g
-Wall
-std
=
c++11
-I
$(
INC_DIR
)
LIBS
:=
-lpthread
SRC_FILES
:=
src/Node.cpp src/Messages.cpp src/Member.cpp src/UdpSocket.cpp src/Threads.cpp src/Utils.cpp src/Logger.cpp src/TcpSocket.cpp src/TestBench.cpp src/main.cpp src/HashRing.cpp src/FileObject.cpp
SRC_FILES2
:=
mappers/wc.cpp src/Utils.cpp
SRC_FILES3
:=
mappers/wr.cpp src/Utils.cpp
SRC_FILES
:=
src/Node.cpp src/Messages.cpp src/Member.cpp src/UdpSocket.cpp src/Threads.cpp src/RandomGenerator.cpp src/Logger.cpp src/TcpSocket.cpp src/main.cpp src/HashRing.cpp src/FileObject.cpp
.PHONY
:
clean
all
:
clean app
map reduce
all
:
clean app
reduce
:
$(
CXX
)
-o
$(
APP3
)
$(
SRC_FILES3
)
$(
CFLAGS
)
$(
LIBS
)
map
:
$(
CXX
)
-o
$(
APP2
)
$(
SRC_FILES2
)
$(
CFLAGS
)
$(
LIBS
)
app
:
$(
CXX
)
-o
$(
APP
)
$(
SRC_FILES
)
$(
CFLAGS
)
$(
LIBS
)
clean
:
$(
RM
)
-f
$(
APP
)
*
.o
$(
RM
)
-f
$(
APP2
)
*
.o
$(
RM
)
-f
$(
APP3
)
*
.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