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

new

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: 1023
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 933f2d73
This is a legacy version of the repository. It may be incomplete as well as
inconsistent. See README.history for details. For the old stock of the
repository copyright and licence conditions apply as specified for versions
commited after 2015-03-01. Use recent versions as a base for new development.
The legacy version is only stored to keep a record of history.
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.1 2002-11-08 20:33:35 forbrig Exp $
#
# Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
#
# Fourier coefficients library
#
# provide Fourier coefficients of filter responses etc.
#
# REVISIONS and CHANGES
# 07/11/2002 V1.0 Thomas Forbriger
#
# ============================================================================
#
all:
flist: Makefile
echo $^ | tr ' ' '\n' | sort > $@
.PHONY: edit
edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist
ifdef CROSS_BASE
BINPREFIX=$(CROSS_BASE)/bin/dos-
else
BINPREFIX=
endif
FC=$(BINPREFIX)g77
CC=$(BINPREFIX)gcc
AR=$(BINPREFIX)ar
AS=$(BINPREFIX)as
RANLIB=$(BINPREFIX)ranlib
F2CLIB=-lm -lf2c -L${SERVERLIBDIR}
F2CFLAGS=-f -u
#CC=gcc
CFLAGS=-O2 -I${SERVERINCLUDEDIR} -I${LOCINCLUDEDIR}
LIBSRC=
LIBOBS=$(patsubst %.f,%.o,$(LIBSRC))
docs: $(DOCS)
.f.o:
f2c $(F2CFLAGS) $<
$(CC) $(CFLAGS) $(<:.f=.c) -c
@rm $(<:.f=.c)
%.o77: %.f
$(FC) $(FFLAGS) -c -o $@ $<
clean:
-/bin/rm *.o *.bak *.doc *.o77
libfourier.doc: $(LIBSRC)
makefdoc.pl $@ $^
libfourier77.a: $(patsubst %.o,%.o77,$(LIBOBS))
libfourier.a: $(LIBOBS)
%.a:
$(AR) rcv $@ $^
$(RANLIB) $@
newlib $@
# ----- END OF Makefile -----
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