Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Pearl River
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Manufacturing
Pearl River
Commits
d83ecb55
Commit
d83ecb55
authored
6 years ago
by
chipforge
Browse files
Options
Downloads
Patches
Plain Diff
use GNU makefile
parent
88c4b54d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GNUmakefile
+108
-2
108 additions, 2 deletions
GNUmakefile
with
108 additions
and
2 deletions
GNUmakefile
+
108
−
2
View file @
d83ecb55
all
:
TEXINPUTS
=
::../../circdia xelatex pearlriver.tex
# ************ LibreSilicon's 1st TestWafer *******************
#
# Organisation: Chipforge
# Germany / European Union
#
# Profile: Chipforge focus on fine System-on-Chip Cores in
# Verilog HDL Code which are easy understandable and
# adjustable. For further information see
# www.chipforge.org
# there are projects from small cores up to PCBs, too.
#
# File: PearlRiver/GNUmakefile
#
# Purpose: Root Makefile
#
# ************ GNU Make 3.80 Source Code ****************
#
# ////////////////////////////////////////////////////////////////
#
# Copyright (c) 2018 by chipforge <hsank@nospam.chipforge.org>
# All rights reserved.
#
# This Standard Cell Library is licensed under the Libre Silicon
# public license; you can redistribute it and/or modify it under
# the terms of the Libre Silicon public license as published by
# the Libre Silicon alliance, either version 1 of the License, or
# (at your option) any later version.
#
# This design is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the Libre Silicon Public License for more details.
#
# ////////////////////////////////////////////////////////////////////
# project name
PROJECT
=
PearlRiver
# directory pathes
DOCUMENTSDIR
=
Documents
LIBRARYDIR
=
Library
LAYOUTDIR
=
Layout
TOOLSDIR
=
Tools
# tool variables
CAT
?=
@cat
ECHO
?=
@echo
# -e
MV
?=
mv
TAR
?=
tar
-zh
DATE
:=
$(
shell
date
+%Y%m%d
)
# project tools
LATEX
?=
pdflatex
-output-directory
$(
DOCUMENTSDIR
)
$(
OUTPUTDIR
)
# default
DISTRIBUTION
=
./GNUmakefile
\
$(
DOCUMENTSDIR
)
\
$(
LIBRARYDIR
)
\
$(
LAYOUTDIR
)
\
$(
TOOLSDIR
)
# ----------------------------------------------------------------
# DEFAULT TARGETS
# ----------------------------------------------------------------
# display help screen if no target is specified
.PHONY
:
help
help
:
$(
ECHO
)
"-------------------------------------------------------------------"
$(
ECHO
)
" available targets:"
$(
ECHO
)
"-------------------------------------------------------------------"
$(
ECHO
)
""
$(
ECHO
)
" help - print this help screen"
$(
ECHO
)
" dist - build a tarball with all important files"
$(
ECHO
)
" clean - clean up all intermediate files"
$(
ECHO
)
""
$(
ECHO
)
" doc - compile documentation"
$(
ECHO
)
""
# make archiv by building a tarball with all important files
.PHONY
:
dist
dist
:
clean
$(
ECHO
)
"---- build a tarball with all important files ----"
$(
TAR
)
-cvf
$(
PROJECT
)
_
$(
DATE
)
.tgz
$(
DISTRIBUTION
)
# well, 'clean' directories before distributing
.PHONY
:
clean
clean
:
$(
ECHO
)
"---- clean up all intermediate files ----"
$(
MAKE
)
-C
$(
DOCUMENTSDIR
)
/LaTeX
-f
build.mk
$@
# ----------------------------------------------------------------
# DOCUMENTATION TARGETS
# ----------------------------------------------------------------
.PHONY
:
doc
doc
:
$(DOCUMENTSDIR)/LaTeX/$(PROJECT).tex $(DOCUMENTSDIR)/LaTeX/revision.tex
TEXINPUTS
=
$$
TEXINPUT:./
$(
DOCUMENTSDIR
)
/LaTeX
$(
LATEX
)
$(
<F
)
# TEXINPUTS=::../../circdia xelatex PearlRiver.tex
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