Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Arduino Core for SAMD21 CPU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josc941e
Arduino Core for SAMD21 CPU
Commits
d2a2c017
Unverified
Commit
d2a2c017
authored
9 years ago
by
Thibaut VIARD
Browse files
Options
Downloads
Patches
Plain Diff
[bl] fix makefile for Studio case
parent
13dcceb0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bootloaders/zero/Makefile
+12
-5
12 additions, 5 deletions
bootloaders/zero/Makefile
with
12 additions
and
5 deletions
bootloaders/zero/Makefile
+
12
−
5
View file @
d2a2c017
...
...
@@ -102,13 +102,15 @@ ELF=$(NAME).elf
EXECUTABLE
=
$(
NAME
)
.bin
ifneq
"test$(AVRSTUDIO_EXE_PATH)" "test"
AS
=
copy_for_atmel_studio
AS_BUILD
=
copy_for_atmel_studio
AS_CLEAN
=
clean_for_atmel_studio
else
AS
=
AS_BUILD
=
AS_CLEAN
=
endif
all
:
print_info $(SOURCES) $(EXECUTABLE) $(AS)
all
:
print_info $(SOURCES) $(EXECUTABLE) $(AS
_BUILD
)
$(ELF)
:
Makefile $(BUILD_PATH) $(OBJECTS)
@
echo
----------------------------------------------------------
...
...
@@ -149,11 +151,16 @@ copy_for_atmel_studio: $(EXECUTABLE)
@
echo
Atmel Studio detected, copying ELF to project root
for
debug
cp
$(
BUILD_PATH
)
/
$(
ELF
)
.
clean
:
clean_for_atmel_studio
:
@
echo
----------------------------------------------------------
@
echo
Atmel Studio detected, cleaing ELF from project root
-$(
RM
)
$(
BUILD_PATH
)
/
$(
ELF
)
.
clean
:
$(AS_CLEAN)
@
echo
----------------------------------------------------------
@
echo
Cleaning project
-$(
RM
)
$(
EXECUTABLE
)
-$(
RM
)
$(
BUILD_PATH
)
/
*
.
*
-
rmdir
$(
BUILD_PATH
)
.phony
:
clean print_info $(BUILD_PATH)
.phony
:
clean print_info $(BUILD_PATH)
$(AS_BUILD) $(AS_CLEAN)
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