Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CleanSerial
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mart Lubbers
CleanSerial
Commits
e883e832
Commit
e883e832
authored
Feb 06, 2017
by
Mart Lubbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix makefile forgood with an ugly hack
parent
9ccc9f25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
Makefile
Makefile
+12
-8
No files found.
Makefile
View file @
e883e832
CLEAN_HOME
?=
/opt/clean
GCCVERSIONGTEQ6
:=
$(
shell
expr
`
gcc
-dumpversion
|
cut
-f1
-d
.
`
\>
=
6
)
test
:
test.icl TTY.icl TTY.dcl Clean
\
System
\
Files/ctty.o
if
hash
gcc-5 2>/dev/null
;
\
then
clm
-dynamics
-l
-no-pie
-I
$(CLEAN_HOME)
/lib/Dynamics
$(
basename
$<
)
-o
$@
;
\
else
clm
-dynamics
-I
$(CLEAN_HOME)
/lib/Dynamics
$(
basename
$<
)
-o
$@
;
\
fi
ifeq
"$(GCCVERSIONGTEQ6)" "1"
clm
-l
-no-pie
-I
$(CLEAN_HOME)
/lib/Dynamics
$(
basename
$<
)
-o
$@
else
clm
-I
$(CLEAN_HOME)
/lib/Dynamics
$(
basename
$<
)
-o
$@
endif
Clean\ System\ Files/ctty.o
:
tty.c
if
hash
gcc-5 2>/dev/null
;
\
then
gcc-5
-DDEBUG
-c
$<
-o
"
$@
"
;
\
else
gcc
-DDEBUG
-c
$<
-o
"
$@
"
;
\
fi
ifeq
"$(GCCVERSIONGTEQ6)" "1"
gcc-5
-DDEBUG
-c
$<
-o
"
$@
"
else
gcc
-DDEBUG
-c
$<
-o
"
$@
"
endif
clean
:
$(RM)
-r
Clean
\
System
\
Files/
*
test
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