Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
b2program
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
b2program
Commits
ea2058ae
Verified
Commit
ea2058ae
authored
1 month ago
by
Miles Vella
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master' into freetypes
parents
a6da3462
359611c3
No related branches found
No related tags found
No related merge requests found
Pipeline
#155890
passed
1 month ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+17
-3
17 additions, 3 deletions
Makefile
with
17 additions
and
3 deletions
Makefile
+
17
−
3
View file @
ea2058ae
...
...
@@ -7,6 +7,9 @@ JAVA_DEPENDENCIES= :btypes.jar
CPP_CODE_GEN_FLAGS
=
-l
cpp
-mc
true
CPPC
?=
clang++
CPPFLAGS
?=
-std
=
c++14
-O1
-flto
TS_CODE_GEN_FLAGS
=
-l
ts
-mc
true
TSC
?=
tsc
TSCFLAGS
=
--target
ES6
--moduleResolution
node
RS_CODE_GEN_FLAGS
=
-l
rs
-mc
true
STRATEGY
=
mixed
THREADS
=
1
...
...
@@ -22,23 +25,34 @@ btypes_primitives:
btypes_big_integer
:
cd
btypes_big_integer
&&
./gradlew fatJar
&&
cp
build/libs/btypes_big_integer-all.jar ../btypes.jar
&&
cd
..
refresh
:
./gradlew eclipse
--refresh-dependencies
ifndef
LANGUAGE
echo
"LANGUAGE is not set"
else
ifeq
($(LANGUAGE), java)
%
:
java
-jar
B2Program-all-0.1.0-SNAPSHOT.jar
$(
JAVA_CODE_GEN_FLAGS
)
-f
$(
DIRECTORY
)
/
$@
.mch
cp
$(
DIRECTORY
)
/
*
.java .
@
if
[
"
$(
DIRECTORY
)
"
!=
"."
]
;
then
cp
$(
DIRECTORY
)
/
*
.java .
;
fi
javac
-cp
.
$(
JAVA_DEPENDENCIES
)
$@
.java
java
-cp
.
$(
JAVA_DEPENDENCIES
)
$@
$(
STRATEGY
)
$(
THREADS
)
$(
CACHING
)
endif
ifeq
($(LANGUAGE), cpp)
%
:
java
-jar
B2Program-all-0.1.0-SNAPSHOT.jar
$(
CPP_CODE_GEN_FLAGS
)
-f
$(
DIRECTORY
)
/
$@
.mch
cp
$(
DIRECTORY
)
/
*
.cpp .
$(
CPPC
)
$(
CPPFLAGS
)
-o
$@
.exec
$@
.cpp
@
if
[
"
$(
DIRECTORY
)
"
!=
"."
]
;
then
cp
$(
DIRECTORY
)
/
*
.cpp .
;
fi
$(
CPPC
)
$(
CPPFLAGS
)
-o
$@
.exec
$@
.cpp
-ftemplate-depth
=
16000
./
$@
.exec
$(
STRATEGY
)
$(
THREADS
)
$(
CACHING
)
endif
ifeq
($(LANGUAGE), ts)
%
:
java
-jar
B2Program-all-0.1.0-SNAPSHOT.jar
$(
TS_CODE_GEN_FLAGS
)
-f
$(
DIRECTORY
)
/
$@
.mch
@
if
[
"
$(
DIRECTORY
)
"
!=
"."
]
;
then
cp
$(
DIRECTORY
)
/
*
.ts .
;
fi
$(
TSC
)
$(
TSCFLAGS
)
$@
.ts
node
$@
.js
$(
STRATEGY
)
$(
THREADS
)
$(
CACHING
)
endif
ifneq
(,$(findstring $(LANGUAGE), rs|RS|rust|Rust))
%
:
java
-jar
B2Program-all-0.1.0-SNAPSHOT.jar
$(
RS_CODE_GEN_FLAGS
)
-f
$(
DIRECTORY
)
/
$@
.mch
...
...
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