Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Tuesday, October 22, 2019

File: [Platon] / doc / diplomova-praca-rajo / Makefile (download)

Revision 1.9, Thu Jul 7 17:02:18 2005 UTC (14 years, 3 months ago) by rajo


Changes since 1.8: +8 -20 lines

Fixed dependency for hotGas.c.LINENUM autogenerated file.

##
## Makefile - Makefile for diplomovka-text
## 
## Lines started with "^## comment..." are comments
## Lines started with "^# <something>" are lines, which you can uncomment
##
## Developed by Lubomir Host 'rajo' <rajo AT platon.sk>
## Copyright (c) 2003 Platon SDG
## Licensed under terms of GNU General Public License.
## All rights reserved.
##
## $Platon: doc/diplomova-praca-rajo/Makefile,v 1.8 2005/04/21 15:36:09 rajo Exp $
##

PACKAGE = diplomova-praca-rajo
VERSION = $(shell date "+%y-%m-%d")
distdir = $(PACKAGE)-$(VERSION)
srcdir  = .

#SUBDIRS = scripts

# define next variable, if you wish use autoprefix
PREFIX  = Host-Lubomir
# Uncomment next line if you wish automaticaly add directory name to the
# name of output file
#APPEND_DIRNAME = 1

## Nazov vystupneho PostScriptoveho suboru (alebo PDF suboro[v])
## vystupy su v roznych adresaroch z toho dovodu, ze 'latex'
## a 'pdflatex' vytvaraju nekompatibilne subory (ktore presne netusim,
## ale sprava sa to divne, ak je to v jednom adresari 
##
## Ak nastavis iba ps__OUTPUT, vytvara sa iba PostScript
## Ak nastavis iba pdf_OUTPUT, vytvara sa iba PDF
##
#ps__OUTPUT        =           diplomovka.ps
#pdf_OUTPUT        =           diplomovka.pdf

ps__OUTPUT        = slide.ps  diplomovka.ps
#pdf_OUTPUT        = slide.pdf diplomovka.pdf

#ps__OUTPUT        = slide.ps  diplomovka.ps  errata.ps
#pdf_OUTPUT        = slide.pdf diplomovka.pdf errata.pdf

pdf_OUTPUT        = slide.pdf
#ps__OUTPUT        = slide.ps
 

## define USE_CSLATEX if you will use `cslatex' instead of `latex'
## if `cslatex' is not found, fallback to `latex'
#USE_CSLATEX = 1

## define USE_LATEX if you will use `latex'
USE_LATEX = 1

## define USE_CSTEX if you will use `csplain' instead of `tex'
## if `csplain' is not found, fallback to `tex'
# USE_CSTEX = 1

## define USE_TEX if you will use `tex'
# USE_TEX = 1

## define COLORIZE_SHELL_CMDS if you will see all shell commands
## executed by make colorized
COLORIZE_SHELL_CMDS = 1

DVIPS          = dvips
GV             = gv
GNUPLOT        = gnuplot
CC             = gcc
TAR            = tar
GZIP_ENV       = --best

## Dalsie pridavne obrazky alebo vstupne subory, ktore sa nijako nevytvaraju
IMAGES_DIR = images
IMAGES = $(IMAGES_DIR)/comenius-logo.eps \
         $(IMAGES_DIR)/molekuly.eps \
         $(IMAGES_DIR)/schema-v_drift-coldGas.eps \
         $(IMAGES_DIR)/schema-v_drift-hotGas.eps


## Toto popisuje zavislosti
DEPEND = Makefile \
         Rules.make \
         Dependencies.make \
         build-struct \
         insert-C-source \
         generate-depend \
         diplomovka.sty \
         slide.sty \
         hyphenation.tex \
         00-header.tex \
         01-obsah.tex \
         02-uvod.tex \
         03-teoret.tex \
         04-prakt.tex \
         05-zaver.tex \
         06-literatura.tex \
         07-prilohy.tex \
         hotGas.c \
         hotGas.c.LINENUM

DISTFILES = diplomovka.tex \
            slide.tex \
            errata.tex \
            $(DEPEND) \
            constants.gpi \
            scripts/ \
            scripts/Makefile \
            scripts/v-drift-analytic.c \
            scripts/*.awk \
            scripts/*.sh \
            images/ \
            images/*.fig \
            images/*.gpi \
            images/*.dat \
            $(IMAGES) \
            images/*.pdf \
            images/analytic.eps \
            images/distrib_T-0.eps \
            images/distribucne-funkcie.eps \
            images/drahy.eps \
            images/entropy-alpha-0.1_beta-0.3_speed-0.eps \
            images/neumann.eps \
            images/rychlost-ionu.eps \
            images/schema-vdrift.eps \
            images/slide-analytic.eps \
            images/slide-casy-zrazok.eps \
            images/slide-distrib_T-0.eps \
            images/slide-distribucne-funkcie.eps \
            images/slide-drahy.eps \
            images/slide-entropy-x2-model.eps \
            images/slide-presnost-MC.eps \
            images/slide-vdrift_T-300K-normal-model.eps \
            images/slide-vdrift_T-300K-x2-model.eps \
            images/slide-zavislost-vdrift-E-beta-model.eps \
            images/slide-zavislost-vdrift-E-normal-model.eps \
            images/slide-zavislost-vdrift-E-x2-model.eps \
            images/slide-zavislost-vdrift-E_T-0.eps \
            images/start-speed-v_drift.eps \
            images/start-speed-v_drift_T-300.eps \
            images/vdrift_T-300K-beta-model.eps \
            images/vdrift_T-300K-normal-model.eps \
            images/vdrift_T-300K-x2-model.eps \
            images/x2-model-distrib-3D_projection.eps \
            images/zavislost-vdrift-E_T-0.eps \
            images/zavislost-vdrift-E_T-300-beta-model.eps

# generated files, but included into distribution
GENERATED_DISTFILES = $(ps__OUTPUT) \
                      $(pdf_OUTPUT)

# List of autogenerated files:
# '*.eps' can be autogenerated by gnuplot file '*.gpi'
# '*.pdf' can be autogenerated by epstopdf from '*.eps'
AUTOGENERATED_FILES = $(IMAGES_DIR)/comenius-logo.pdf \
                      $(IMAGES_DIR)/rychlost-ionu.eps \
                      $(IMAGES_DIR)/rychlost-ionu.pdf \
                      $(IMAGES_DIR)/drahy.pdf \
                      $(IMAGES_DIR)/drahy.eps \
                      $(IMAGES_DIR)/distribucne-funkcie.eps \
                      $(IMAGES_DIR)/distribucne-funkcie.pdf \
                      $(IMAGES_DIR)/molekuly.pdf \
                      $(IMAGES_DIR)/neumann.pdf \
                      $(IMAGES_DIR)/neumann.eps \
                      $(IMAGES_DIR)/schema-vdrift.pdf \
                      $(IMAGES_DIR)/schema-vdrift.eps \
                      $(IMAGES_DIR)/analytic.pdf \
                      $(IMAGES_DIR)/analytic.eps \
                      $(IMAGES_DIR)/distrib_T-0.pdf \
                      $(IMAGES_DIR)/distrib_T-0.eps \
                      $(IMAGES_DIR)/zavislost-vdrift-E_T-0.eps \
                      $(IMAGES_DIR)/zavislost-vdrift-E_T-0.pdf \
                      $(IMAGES_DIR)/slide-analytic.eps \
                      $(IMAGES_DIR)/slide-analytic.pdf \
                      $(IMAGES_DIR)/slide-distrib_T-0.eps \
                      $(IMAGES_DIR)/slide-distrib_T-0.pdf \
                      $(IMAGES_DIR)/slide-drahy.pdf \
                      $(IMAGES_DIR)/slide-drahy.eps \
                      $(IMAGES_DIR)/vdrift_T-300K-beta-model.eps \
                      $(IMAGES_DIR)/vdrift_T-300K-beta-model.pdf \
                      $(IMAGES_DIR)/vdrift_T-300K-normal-model.eps \
                      $(IMAGES_DIR)/vdrift_T-300K-normal-model.pdf \
                      $(IMAGES_DIR)/vdrift_T-300K-x2-model.eps \
                      $(IMAGES_DIR)/vdrift_T-300K-x2-model.pdf \
                      $(IMAGES_DIR)/start-speed-v_drift.eps \
                      $(IMAGES_DIR)/start-speed-v_drift.pdf \
                      $(IMAGES_DIR)/start-speed-v_drift_T-300.eps \
                      $(IMAGES_DIR)/start-speed-v_drift_T-300.pdf \
                      $(IMAGES_DIR)/schema-v_drift-coldGas.pdf \
                      $(IMAGES_DIR)/schema-v_drift-hotGas.pdf \
                      $(IMAGES_DIR)/zavislost-vdrift-E_T-300-beta-model.eps \
                      $(IMAGES_DIR)/zavislost-vdrift-E_T-300-beta-model.pdf \
                      $(IMAGES_DIR)/entropy-alpha-0.1_beta-0.3_speed-0.eps \
                      $(IMAGES_DIR)/entropy-alpha-0.1_beta-0.3_speed-0.pdf \
                      $(IMAGES_DIR)/slide-casy-zrazok.eps \
                      $(IMAGES_DIR)/slide-casy-zrazok.pdf \
                      $(IMAGES_DIR)/slide-presnost-MC.eps \
                      $(IMAGES_DIR)/slide-presnost-MC.pdf \
                      $(IMAGES_DIR)/slide-zavislost-vdrift-E_T-0.eps \
                      $(IMAGES_DIR)/slide-zavislost-vdrift-E_T-0.pdf \
                      $(IMAGES_DIR)/slide-zavislost-vdrift-E-beta-model.eps \
                      $(IMAGES_DIR)/slide-zavislost-vdrift-E-beta-model.pdf \
                      $(IMAGES_DIR)/slide-zavislost-vdrift-E-normal-model.eps \
                      $(IMAGES_DIR)/slide-zavislost-vdrift-E-normal-model.pdf \
                      $(IMAGES_DIR)/slide-zavislost-vdrift-E-x2-model.eps \
                      $(IMAGES_DIR)/slide-zavislost-vdrift-E-x2-model.pdf \
                      $(IMAGES_DIR)/slide-vdrift_T-300K-normal-model.eps \
                      $(IMAGES_DIR)/slide-vdrift_T-300K-normal-model.pdf \
                      $(IMAGES_DIR)/slide-vdrift_T-300K-x2-model.eps \
                      $(IMAGES_DIR)/slide-vdrift_T-300K-x2-model.pdf \
                      $(IMAGES_DIR)/slide-entropy-x2-model.eps \
                      $(IMAGES_DIR)/slide-entropy-x2-model.pdf \
                      $(IMAGES_DIR)/slide-distribucne-funkcie.eps \
                      $(IMAGES_DIR)/slide-distribucne-funkcie.pdf \
                      $(IMAGES_DIR)/x2-model-distrib-3D_projection.eps \
                      $(IMAGES_DIR)/x2-model-distrib-3D_projection.pdf

########################################
########################################
## END of user setup
########################################
########################################


## include rules from Rules.make:
include Rules.make

doc: all

Dependencies.make: hotGas.c.LINENUM generate-depend Makefile Rules.make $(IMAGES_DIR)/*.gpi $(IMAGES_DIR)/*.dat
    @echo "Generating dependencies between images..."
    @echo "# Dependencies between images generated automaticaly"     > $@
    @echo "# by generate-depend"                                    >> $@
    @-./generate-depend $+                                            >> $@
    @-awk '/^# USED: / { print $$3}' '$@' | sort -u > .used_datafiles.tmp;                \
      list=`ls -1 images/*.dat | diff -C 0 -c - .used_datafiles.tmp | grep '^- '`;        \
      test -z "$$list" || ( echo "Warning: Unused data files:"; echo "$$list" )
    @-rm -f .used_datafiles.tmp

hotGas.c.LINENUM 07-prilohy.tex: hotGas.c insert-C-source Makefile Rules.make
    cp 07-prilohy.tex 07-prilohy.tex.tmp
    rm -f hotGas.c.LINENUM
    ./insert-C-source 07-prilohy.tex.tmp > 07-prilohy.tex.tmp1 2> hotGas.c.LINENUM && mv 07-prilohy.tex.tmp1 07-prilohy.tex

-include Dependencies.make

$(IMAGES_DIR)/%.dat:
    @echo "Buggy Dependencies.make file, removing ..."
    @echo "If this doesn't help, you are probably missing some data files :-("
    -rm -f Dependencies.make

## vim: ts=4 isk+=- ft=make
## vim600: fdm=marker fdc=3


Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top