Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
trs
Commits
ae546156
Commit
ae546156
authored
Nov 27, 2011
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved CFLAGS to root Makefile.
parent
2683da67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Makefile
Makefile
+1
-0
external/rules.mk
external/rules.mk
+2
-2
No files found.
Makefile
View file @
ae546156
BUILD
=
build/
BUILD
=
build/
CFLAGS
:=
-g
-O3
-pipe
-Wall
-Wextra
-fstrict-aliasing
# Fix pdflatex search path
# Fix pdflatex search path
TEXINPUTS
:=
"
$(TEXINPUTS)
:docs"
TEXINPUTS
:=
"
$(TEXINPUTS)
:docs"
...
...
external/rules.mk
View file @
ae546156
...
@@ -5,13 +5,13 @@ PYBISON_INC := -Iexternal/pybison/src/c -I/usr/include/python2.7
...
@@ -5,13 +5,13 @@ PYBISON_INC := -Iexternal/pybison/src/c -I/usr/include/python2.7
build
:
$(b)pybison/bison_.so $(b)pybison/bison.py
build
:
$(b)pybison/bison_.so $(b)pybison/bison.py
$(b)pybison/bison_.so
:
$(b)pybison/bison_.o $(b)pybison/bisondynlib-linux.o
$(b)pybison/bison_.so
:
$(b)pybison/bison_.o $(b)pybison/bisondynlib-linux.o
$(CC)
-g
-O3
-pipe
-Wall
-Wextra
-shared
-pthread
-o
$@
$^
$(CC)
$(CFLAGS)
-shared
-pthread
-o
$@
$^
$(b)pybison/bison.py
:
$(d)pybison/src/python/bison.py | $(b)pybison
$(b)pybison/bison.py
:
$(d)pybison/src/python/bison.py | $(b)pybison
ln
-s
`
realpath
$<
`
$@
ln
-s
`
realpath
$<
`
$@
$(b)pybison/bisondynlib-linux.o $(b)pybison/bison_.o
:
| $(b)pybison
$(b)pybison/bisondynlib-linux.o $(b)pybison/bison_.o
:
| $(b)pybison
$(CC)
-g
-O3
-pipe
-Wall
-Wextra
-o
$@
-c
$<
-pthread
-fPIC
$(PYBISON_INC)
$(CC)
$(CFLAGS)
-o
$@
-c
$<
-pthread
-fPIC
$(PYBISON_INC)
$(b)pybison/bisondynlib-linux.o
:
$(d)pybison/src/c/bisondynlib-linux.c
$(b)pybison/bisondynlib-linux.o
:
$(d)pybison/src/c/bisondynlib-linux.c
$(b)pybison/bison_.o
:
$(b)pybison/bison_.c
$(b)pybison/bison_.o
:
$(b)pybison/bison_.c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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