Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
a3cb5e26
Commit
a3cb5e26
authored
Nov 27, 2019
by
Maxime Perrotin
Browse files
Improve makefile
parent
a4a984ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/Demo_C/Makefile
View file @
a3cb5e26
...
...
@@ -5,26 +5,25 @@ export USER_LDFLAGS=
# you can add folders with source code you want to compile
export
EXTERNAL_SOURCE_PATH
=
all
:
c ada
all
:
c ada
rtems
ada
:
kazoo-ada
ada
:
rm
-rf
output.ada
$(KAZOO)
--gw
-o
output.ada
--glue
--debug
cp
simple_c_function/
*
.c output.ada/simple_c_function/C/src
$(MAKE)
-C
output.ada
c
:
kazoo-c
#
Polyorb_HI_C output
cp
simple_c_function/
*
.c output.c/simple_c_function/C/src
$(MAKE)
-C
output.c
$(MAKE)
-C
output.c build-rtems-ada
kazoo-ada
:
clean-ada
$(KAZOO)
--gw
\
-o
output.ada
\
--glue
\
--debug
kazoo-c
:
clean-c
$(KAZOO)
-p
--gw
--glue
-o
output.c
c
:
#
Polyorb_HI_C output
rm
-rf
work
$(KAZOO)
-p
--gw
--glue
-o
work
cp
simple_c_function/
*
.c work/simple_c_function/C/src
$(MAKE)
-C
work
rtems
:
rm
-f
output.rtems
$(KAZOO)
-p
--gw
--glue
-o
output.rtems
cp
simple_c_function/
*
.c output.rtems/simple_c_function/C/src
$(MAKE)
-C
output.rtems build-rtems-ada
gdb-ada
:
clean
gdb
--args
$(KAZOO)
--gw
--glue
--debug
-o
output.gdb
...
...
@@ -36,14 +35,17 @@ clean-ada:
rm
-rf
output.ada
clean-c
:
rm
-rf
output.c
rm
-rf
work
clean-rtems
:
rm
-rf
output.rtems
skeletons
-c
:
$(KAZOO)
--gw
-o
output.c
$(MAKE)
-C
output.c
dataview
skeletons
:
$(KAZOO)
--gw
-o
work
$(MAKE)
-C
work
dataview
clean-skeletons
:
clean-c
clean
:
clean-ada clean-c
clean
:
clean-ada clean-c
clean-rtems
.PHONY
:
clean clean-ada clean-c kazoo-ada kazoo-c gdb-ada gdb-c c ada skeletons-c clean-skeletons
.PHONY
:
clean clean-ada clean-c
clean-rtems
kazoo-ada kazoo-c gdb-ada gdb-c c ada skeletons-c clean-skeletons
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment