Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
b76756e4
Commit
b76756e4
authored
May 28, 1998
by
Bruce Korb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefile changes to support all this
From-SVN: r20120
parent
6efa7eb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
contrib/fixinc/Makefile
+11
-8
No files found.
contrib/fixinc/Makefile
View file @
b76756e4
...
...
@@ -3,7 +3,7 @@
##
## Makefile for constructing the "best" include fixer we can
##
## $Id: Makefile,v 1.
1 1998/03/20 16:19:41
korbb Exp $
## $Id: Makefile,v 1.
4 1998/08/05 10:20:10
korbb Exp $
##
## # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
...
...
@@ -26,7 +26,8 @@ fixincl.o: fixincl.x
fixincl
:
$(OBJ)
if
$(CC)
-o
$@
$(OBJ)
$(LIB)
;
then
:
;
else
\
rm
-f
$@
;
echo false
>
$@
;
fi
rm
-f
$@
;
(
echo
"#! /bin/sh"
;
echo exit
1
)
>
$@
;
\
chmod 777
$@
;
fi
regex.o
:
regex.c
$(CC)
-g
-DSTDC_HEADERS
=
1
-c
regex.c
...
...
@@ -55,11 +56,13 @@ clean:
rm
-f
*
.o fixincl
install
:
fixincl.sh
@
rm
-f
../../gcc/fixincl
.sh
;
\
echo
cp fixincl.sh
../../gcc
;
\
cp fixincl.sh
../../gcc
;
\
chmod
+x ../../gcc/fixincl
.sh
@
rm
-f
$(DESTDIR)
/fixinc
.sh
;
\
echo
cp fixincl.sh
$(DESTDIR)
/fixinc.sh
;
\
cp fixincl.sh
$(DESTDIR)
/fixinc.sh
;
\
chmod
555
$(DESTDIR)
/fixinc
.sh
@
echo
check
for
fixincl copy...
@
if
(
./fixincl
-v
>
/dev/null 2>&1
)
;
then
\
echo
cp fixincl ../../gcc/fixincl
;
\
cp fixincl ../../gcc/fixincl
;
fi
rm
-f
$(DESTDIR)
/fixincl
;
\
echo
cp fixincl
$(DESTDIR)
;
\
cp fixincl
$(DESTDIR)
;
\
chmod 555
$(DESTDIR)
/fixincl
;
fi
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