Commit 8555ec8b authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

new rules

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1108
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 464079a3
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.9 2002-11-27 13:05:40 forbrig Exp $
# $Id: Makefile,v 1.10 2002-11-27 14:58:52 forbrig Exp $
#
# Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
#
......@@ -68,6 +68,7 @@ clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.o | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.d | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.hd | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.o install-include *.strip libtfxx.a
cd tests; $(MAKE) clean
......@@ -83,6 +84,7 @@ clean: ;
-include $(patsubst %.cc,%.d,$(SRC) $(TESTS))
#======================================================================
# library part
# ------------
......@@ -94,11 +96,10 @@ libtfxx.a: $(SRC:.cc=.o)
#----------------------------------------------------------------------
# comment stripping
misc.h.strip: misc/misc.h
fortranio.h.strip: misc/fortranio.h
commandline.h.strip: misc/commandline.h
complexio.h.strip: misc/complexio.h
error.h.strip: misc/error.h
%.hd: %.h; echo $(patsubst misc/%,%,$<.strip): $< > $@
-include $(patsubst %.h,%.hd,$(HEADERS))
# first awk rule assumes that the first non-comment line starts with '#'
# and that the first (copyright) comment end with pattern "^ */"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment