Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rpn_calculator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Anna Gillert
rpn_calculator
Commits
f8030a27
Commit
f8030a27
authored
6 years ago
by
Sebastian Staffa
Browse files
Options
Downloads
Patches
Plain Diff
Fix makefile
parent
5a8c1609
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
Makefile
+9
-10
9 additions, 10 deletions
Makefile
with
9 additions
and
10 deletions
Makefile
+
9
−
10
View file @
f8030a27
CXXFLAGS
=
-std
=
c++17
default
:
main
default
:
bin/
main
main
:
src/calculator.cpp
bin/
main
:
src/calculator.cpp
src/main.cpp
mkdir
-p
bin
$(
CXX
)
$(
CXXFLAGS
)
-o
bin/main src/calculator.cpp src/main.cpp
$(
CXX
)
$(
CXXFLAGS
)
-o
$@
$^
fuzz_main
:
src/calculator.cpp
bin/
fuzz_main
:
src/calculator.cpp
src/main.cpp
mkdir
-p
bin
afl-g++
$(
CXXFLAGS
)
-o
bin/fuzz_main src/calculator.cpp src/main.cpp
afl-g++
$(
CXXFLAGS
)
-o
$@
$^
fuzz
:
fuzz_main
fuzz
:
bin/
fuzz_main
rm
-rf
test
/out
afl-fuzz
-i
test
/in
-o
test
/out
--
./bin/fuzz_main
clean
:
rm
-rf
bin
test
/out
rm
-rf
main fuzz_main out
rm
-rf
bin
tests
:
test/main.test.cpp
bin/
tests
:
test/main.test.cpp
src/main.cpp
mkdir
-p
bin
$(
CXX
)
$(
CXXFLAGS
)
-o
bin/tests src/main.cpp
test
/main.test.cpp
$(
CXX
)
$(
CXXFLAGS
)
-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