Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
llvm-watermarker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nagayama15
llvm-watermarker
Commits
00bb7e5f
Commit
00bb7e5f
authored
Nov 17, 2018
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefileを分割
parent
723ebf82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
12 deletions
+32
-12
Makefile
Makefile
+5
-12
Makefile
test/Makefile
+27
-0
No files found.
Makefile
View file @
00bb7e5f
...
@@ -17,10 +17,10 @@ LDFLAGS := \
...
@@ -17,10 +17,10 @@ LDFLAGS := \
.PHONY
:
all test clean
.PHONY
:
all test clean
all
:
nykk.so
test_pass
all
:
nykk.so
test
:
test_pass
test
:
./test_pass
${
MAKE
}
-C
test
run
nykk.so
:
\
nykk.so
:
\
src/nykk/pass/TestPass.o
\
src/nykk/pass/TestPass.o
\
...
@@ -31,16 +31,9 @@ src/nykk/pass/BlockWatermarkPass.o: \
...
@@ -31,16 +31,9 @@ src/nykk/pass/BlockWatermarkPass.o: \
src/nykk/pass/BlockWatermarkPass.cpp
\
src/nykk/pass/BlockWatermarkPass.cpp
\
src/nykk/PermutationTable.hpp
src/nykk/PermutationTable.hpp
test/Test.o
:
\
test/Test.cpp
\
test/TestPermutationTable.hpp
\
src/nykk/PermutationTable.hpp
test_pass
:
test/Test.o
${
CXX
}
${
CXXFLAGS
}
-o
$@
$^
${
LDFLAGS
}
%.so
:
%.so
:
${
CXX
}
${
CXXFLAGS
}
-shared
-o
$@
$^
${
LDFLAGS
}
${
CXX
}
${
CXXFLAGS
}
-shared
-o
$@
$^
${
LDFLAGS
}
clean
:
clean
:
${
RM
}
*
.so test_pass src/
*
/
*
.o src/
*
/
*
/
*
.o
test
/
*
.o
${
MAKE
}
-C
test
clean
${
RM
}
*
.so src/
*
/
*
.o src/
*
/
*
/
*
.o
test/Makefile
0 → 100644
View file @
00bb7e5f
CXXFLAGS
:=
\
-std
=
c++17
\
-Wall
\
-Wextra
\
-pedantic
\
-Werror
\
-fPIC
LDFLAGS
:=
.PHONY
:
all run clean
all
:
test_pass
run
:
test_pass
./test_pass
test_pass
:
Test.o
${
CXX
}
${
CXXFLAGS
}
-o
$@
$^
${
LDFLAGS
}
Test.o
:
\
Test.cpp
\
TestPermutationTable.hpp
\
../src/nykk/PermutationTable.hpp
clean
:
${
RM
}
test_pass
*
.o
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment