| version 1.8, 2005/04/21 15:36:09 |
version 1.9, 2005/07/07 17:02:18 |
|
|
| ## Licensed under terms of GNU General Public License. |
## Licensed under terms of GNU General Public License. |
| ## All rights reserved. |
## All rights reserved. |
| ## |
## |
| ## $Platon: doc/diplomova-praca-rajo/Makefile,v 1.7 2005/04/21 14:11:22 rajo Exp $ |
## $Platon: doc/diplomova-praca-rajo/Makefile,v 1.8 2005/04/21 15:36:09 rajo Exp $ |
| ## |
## |
| |
|
| PACKAGE = diplomova-praca-rajo |
PACKAGE = diplomova-praca-rajo |
| Line 17 VERSION = $(shell date "+%y-%m-%d") |
|
| Line 17 VERSION = $(shell date "+%y-%m-%d") |
|
| distdir = $(PACKAGE)-$(VERSION) |
distdir = $(PACKAGE)-$(VERSION) |
| srcdir = . |
srcdir = . |
| |
|
| SUBDIRS = scripts |
#SUBDIRS = scripts |
| |
|
| # define next variable, if you wish use autoprefix |
# define next variable, if you wish use autoprefix |
| PREFIX = Host-Lubomir |
PREFIX = Host-Lubomir |
| Line 228 include Rules.make |
|
| Line 228 include Rules.make |
|
| |
|
| doc: all |
doc: all |
| |
|
| Dependencies.make: generate-depend Makefile Rules.make $(IMAGES_DIR)/*.gpi $(IMAGES_DIR)/*.dat |
Dependencies.make: hotGas.c.LINENUM generate-depend Makefile Rules.make $(IMAGES_DIR)/*.gpi $(IMAGES_DIR)/*.dat |
| @echo "Generating dependencies between images..." |
@echo "Generating dependencies between images..." |
| @echo "# Dependencies between images generated automaticaly" > $@ |
@echo "# Dependencies between images generated automaticaly" > $@ |
| @echo "# by generate-depend" >> $@ |
@echo "# by generate-depend" >> $@ |
| Line 238 Dependencies.make: generate-depend Makef |
|
| Line 238 Dependencies.make: generate-depend Makef |
|
| test -z "$$list" || ( echo "[31;1mWarning: Unused data files:[0;0m"; echo "$$list" ) |
test -z "$$list" || ( echo "[31;1mWarning: Unused data files:[0;0m"; echo "$$list" ) |
| @-rm -f .used_datafiles.tmp |
@-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 |
-include Dependencies.make |
| |
|
| $(IMAGES_DIR)/%.dat: |
$(IMAGES_DIR)/%.dat: |
| Line 245 $(IMAGES_DIR)/%.dat: |
|
| Line 250 $(IMAGES_DIR)/%.dat: |
|
| @echo "If this doesn't help, you are probably missing some data files :-(" |
@echo "If this doesn't help, you are probably missing some data files :-(" |
| -rm -f Dependencies.make |
-rm -f Dependencies.make |
| |
|
| # little hack: hotGas.c.LINENUM is produced with ./insert-C-source script |
|
| # see '07-prilohy.tex:' rule below |
|
| hotGas.c.LINENUM: |
|
| touch hotGas.c |
|
| |
|
| 07-prilohy.tex: hotGas.c insert-C-source |
|
| cp $@ $@.tmp |
|
| rm -f $<.LINENUM; |
|
| ./insert-C-source $@.tmp > $@.tmp1 2> $<.LINENUM && mv $@.tmp1 $@ |
|
| cat $<.LINENUM; |
|
| |
|
| #PROGRAM = hotGas |
|
| #program prog: $(PROGRAM) |
|
| #hotgas: hotGas |
|
| #hotGas: hotGas.c |
|
| # gcc -Wall -Wshadow -I$(HOME)/dipl/include -o $@ $< -L$(HOME)/dipl/lib -lm -lcfg+ |
|
| |
|
| ## vim: ts=4 isk+=- ft=make |
## vim: ts=4 isk+=- ft=make |
| ## vim600: fdm=marker fdc=3 |
## vim600: fdm=marker fdc=3 |
| |
|