OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [doc/] [Makefile] - Diff between revs 190 and 202

Only display areas with differences | Details | Blame | View Log

Rev 190 Rev 202
################################################################################
################################################################################
##
##
## Filename:    Makefile
## Filename:    Makefile
##
##
## Project:     Zip CPU -- a small, lightweight, RISC CPU soft core
## Project:     Zip CPU -- a small, lightweight, RISC CPU soft core
##
##
## Purpose:
## Purpose:
##
##
##
##
## Creator:     Dan Gisselquist, Ph.D.
## Creator:     Dan Gisselquist, Ph.D.
##              Gisselquist Technology, LLC
##              Gisselquist Technology, LLC
##
##
################################################################################
################################################################################
##
##
## Copyright (C) 2015-2016, Gisselquist Technology, LLC
## Copyright (C) 2015-2016, Gisselquist Technology, LLC
##
##
## This program is free software (firmware): you can redistribute it and/or
## This program is free software (firmware): you can redistribute it and/or
## modify it under the terms of  the GNU General Public License as published
## modify it under the terms of  the GNU General Public License as published
## by the Free Software Foundation, either version 3 of the License, or (at
## by the Free Software Foundation, either version 3 of the License, or (at
## your option) any later version.
## your option) any later version.
##
##
## This program is distributed in the hope that it will be useful, but WITHOUT
## This program is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
## ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
## for more details.
## for more details.
##
##
## License:     GPL, v3, as defined and found on www.gnu.org,
## License:     GPL, v3, as defined and found on www.gnu.org,
##              http://www.gnu.org/licenses/gpl.html
##              http://www.gnu.org/licenses/gpl.html
##
##
##
##
################################################################################
################################################################################
##
##
##
##
all:    pdftex gpl-3.0.pdf spec.pdf
all:    pdftex gpl-3.0.pdf spec.pdf
DSRC := src
DSRC := src
gpl-3.0.pdf: $(DSRC)/gpl-3.0.tex
gpl-3.0.pdf: $(DSRC)/gpl-3.0.tex
        latex $(DSRC)/gpl-3.0.tex
        latex $(DSRC)/gpl-3.0.tex
        latex $(DSRC)/gpl-3.0.tex
        latex $(DSRC)/gpl-3.0.tex
        dvips -q -z -t letter -P pdf -o gpl-3.0.ps gpl-3.0.dvi
        dvips -q -z -t letter -P pdf -o gpl-3.0.ps gpl-3.0.dvi
        ps2pdf -dAutoRotatePages=/All gpl-3.0.ps gpl-3.0.pdf
        ps2pdf -dAutoRotatePages=/All gpl-3.0.ps gpl-3.0.pdf
        rm gpl-3.0.dvi gpl-3.0.log gpl-3.0.aux gpl-3.0.ps
        rm gpl-3.0.dvi gpl-3.0.log gpl-3.0.aux gpl-3.0.ps
.PHONY: pdftex
.PHONY: pdftex
pdftex:
pdftex:
        @cd gfx; bash -c "if [[ -e Makefile ]]; then make --no-print-directory; fi"
        @cd gfx; bash -c "if [[ -e Makefile ]]; then make --no-print-directory; fi"
spec.pdf: $(DSRC)/spec.tex $(DSRC)/gqtekspec.cls $(DSRC)/GT.eps
spec.pdf: $(DSRC)/spec.tex $(DSRC)/gqtekspec.cls $(DSRC)/GT.eps
        cd $(DSRC)/; latex spec.tex
        cd $(DSRC)/; latex spec.tex
        cd $(DSRC)/; latex spec.tex
        cd $(DSRC)/; latex spec.tex
 
        cd $(DSRC)/; latex spec.tex
        cd $(DSRC)/; dvips -q -z -t letter -P pdf -o ../spec.ps spec.dvi
        cd $(DSRC)/; dvips -q -z -t letter -P pdf -o ../spec.ps spec.dvi
        ps2pdf -dAutoRotatePages=/All spec.ps spec.pdf
        ps2pdf -dAutoRotatePages=/All spec.ps spec.pdf
        grep -i warning $(DSRC)/spec.log
        grep -i warning $(DSRC)/spec.log
        rm $(DSRC)/spec.dvi $(DSRC)/spec.log
        rm $(DSRC)/spec.dvi $(DSRC)/spec.log
        rm $(DSRC)/spec.aux $(DSRC)/spec.toc
        rm $(DSRC)/spec.aux $(DSRC)/spec.toc
        rm $(DSRC)/spec.lot $(DSRC)/spec.lof
        rm $(DSRC)/spec.lot $(DSRC)/spec.lof
        rm $(DSRC)/spec.out spec.ps
        rm $(DSRC)/spec.out spec.ps
zipos.pdf: $(DSRC)/zipos.tex $(DSRC)/gqtekspec.cls $(DSRC)/GT.eps
zipos.pdf: $(DSRC)/zipos.tex $(DSRC)/gqtekspec.cls $(DSRC)/GT.eps
        cd $(DSRC)/; latex zipos.tex
        cd $(DSRC)/; latex zipos.tex
        cd $(DSRC)/; latex zipos.tex
        cd $(DSRC)/; latex zipos.tex
        cd $(DSRC)/; dvips -q -z -t letter -P pdf -o ../zipos.ps zipos.dvi
        cd $(DSRC)/; dvips -q -z -t letter -P pdf -o ../zipos.ps zipos.dvi
        ps2pdf -dAutoRotatePages=/All zipos.ps zipos.pdf
        ps2pdf -dAutoRotatePages=/All zipos.ps zipos.pdf
        rm $(DSRC)/zipos.dvi $(DSRC)/zipos.log
        rm $(DSRC)/zipos.dvi $(DSRC)/zipos.log
        rm $(DSRC)/zipos.aux $(DSRC)/zipos.toc
        rm $(DSRC)/zipos.aux $(DSRC)/zipos.toc
        rm $(DSRC)/zipos.lot $(DSRC)/zipos.lof
        rm $(DSRC)/zipos.lot $(DSRC)/zipos.lof
        rm $(DSRC)/zipos.out zipos.ps
        rm $(DSRC)/zipos.out zipos.ps
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.