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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [doc/] [Makefile] - Blame information for rev 190

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 190 dgisselq
################################################################################
2
##
3
## Filename:    Makefile
4
##
5
## Project:     Zip CPU -- a small, lightweight, RISC CPU soft core
6
##
7
## Purpose:
8
##
9
##
10
## Creator:     Dan Gisselquist, Ph.D.
11
##              Gisselquist Technology, LLC
12
##
13
################################################################################
14
##
15
## Copyright (C) 2015-2016, Gisselquist Technology, LLC
16
##
17
## This program is free software (firmware): you can redistribute it and/or
18
## modify it under the terms of  the GNU General Public License as published
19
## by the Free Software Foundation, either version 3 of the License, or (at
20
## your option) any later version.
21
##
22
## This program is distributed in the hope that it will be useful, but WITHOUT
23
## ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
24
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
25
## for more details.
26
##
27
## License:     GPL, v3, as defined and found on www.gnu.org,
28
##              http://www.gnu.org/licenses/gpl.html
29
##
30
##
31
################################################################################
32
##
33
##
34 68 dgisselq
all:    pdftex gpl-3.0.pdf spec.pdf
35 21 dgisselq
DSRC := src
36
 
37
gpl-3.0.pdf: $(DSRC)/gpl-3.0.tex
38
        latex $(DSRC)/gpl-3.0.tex
39
        latex $(DSRC)/gpl-3.0.tex
40
        dvips -q -z -t letter -P pdf -o gpl-3.0.ps gpl-3.0.dvi
41
        ps2pdf -dAutoRotatePages=/All gpl-3.0.ps gpl-3.0.pdf
42
        rm gpl-3.0.dvi gpl-3.0.log gpl-3.0.aux gpl-3.0.ps
43
 
44 68 dgisselq
.PHONY: pdftex
45
pdftex:
46 106 dgisselq
        @cd gfx; bash -c "if [[ -e Makefile ]]; then make --no-print-directory; fi"
47 68 dgisselq
 
48 21 dgisselq
spec.pdf: $(DSRC)/spec.tex $(DSRC)/gqtekspec.cls $(DSRC)/GT.eps
49
        cd $(DSRC)/; latex spec.tex
50
        cd $(DSRC)/; latex spec.tex
51 24 dgisselq
        cd $(DSRC)/; dvips -q -z -t letter -P pdf -o ../spec.ps spec.dvi
52 21 dgisselq
        ps2pdf -dAutoRotatePages=/All spec.ps spec.pdf
53 69 dgisselq
        grep -i warning $(DSRC)/spec.log
54 21 dgisselq
        rm $(DSRC)/spec.dvi $(DSRC)/spec.log
55
        rm $(DSRC)/spec.aux $(DSRC)/spec.toc
56 24 dgisselq
        rm $(DSRC)/spec.lot $(DSRC)/spec.lof
57 36 dgisselq
        rm $(DSRC)/spec.out spec.ps
58 21 dgisselq
 
59 47 dgisselq
zipos.pdf: $(DSRC)/zipos.tex $(DSRC)/gqtekspec.cls $(DSRC)/GT.eps
60
        cd $(DSRC)/; latex zipos.tex
61
        cd $(DSRC)/; latex zipos.tex
62
        cd $(DSRC)/; dvips -q -z -t letter -P pdf -o ../zipos.ps zipos.dvi
63
        ps2pdf -dAutoRotatePages=/All zipos.ps zipos.pdf
64
        rm $(DSRC)/zipos.dvi $(DSRC)/zipos.log
65
        rm $(DSRC)/zipos.aux $(DSRC)/zipos.toc
66
        rm $(DSRC)/zipos.lot $(DSRC)/zipos.lof
67
        rm $(DSRC)/zipos.out zipos.ps
68
 

powered by: WebSVN 2.1.0

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