Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
trs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Taddeüs Kroes
trs
Commits
e371ce89
Commit
e371ce89
authored
13 years ago
by
Taddeus Kroes
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of kompiler.org:trs
parents
9915c8e4
b31467af
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
external/pybison
+1
-1
1 addition, 1 deletion
external/pybison
external/rules.mk
+7
-4
7 additions, 4 deletions
external/rules.mk
with
8 additions
and
5 deletions
pybison
@
45ab5b85
Subproject commit
6114df1e41edf41a96b683a8dada8b327222da31
Subproject commit
45ab5b854b56c021db3f63f7b4769c604e7aa2e3
This diff is collapsed.
Click to expand it.
external/rules.mk
+
7
−
4
View file @
e371ce89
...
...
@@ -4,13 +4,17 @@ PYBISON_INC := -Iexternal/pybison/src/c -I/usr/include/python2.7
build
:
$(b)pybison/bison_.so
$(b)pybison/bison_.so
:
$(b)pybison/bison_.o $(b)pybison/bisondynlib-linux.o
BISON_OBJ
:=
$(
b
)
pybison/bison_.o
$(
b
)
pybison/bison_callback.o
\
$(
b
)
pybison/bisondynlib-linux.o
$(b)pybison/bison_.so
:
$(BISON_OBJ)
$(
CC
)
$(
CFLAGS
)
-shared
-pthread
-o
$@
$^
$(
b)pybison/bisondynlib-linux.o $(b)pybison/bison_.o
:
| $(b)pybison
$(
BISON_OBJ)
:
| $(b)pybison
$(
CC
)
$(
CFLAGS
)
-o
$@
-c
$<
-pthread
-fPIC
$(
PYBISON_INC
)
$(b)pybison/bisondynlib-linux.o
:
$(d)pybison/src/c/bisondynlib-linux.c
$(b)pybison/bison_callback.o
:
$(d)pybison/src/c/bison_callback.c
$(b)pybison/bison_.o
:
$(b)pybison/bison_.c
ifdef
PYREX
...
...
@@ -24,6 +28,5 @@ endif
endif
$(b)pybison/%.c
:
$(d)pybison/src/pyrex/%.pyx
$(
py2c
)
-o
$@
$<
$(
py2c
)
$(
py2c_OPTS
)
-o
$@
$<
$(
RM
)
$(
@D
)
/
*
.so
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