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

compiles again

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: 846
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent c2d8faed
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.2 2002-05-10 09:39:57 forbrig Exp $
#
# Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
#
# sousou - sound source
#
# REVISIONS and CHANGES
# 10/05/2002 V1.0 Thomas Forbriger
#
# ============================================================================
#
# Makefile for prog/sigver/sousou
#
# evaluate sound wave
#
all:
flist: Makefile $(wildcard *.f *.inc)
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 *.o
LINLIB=-llapex -lblasex
# LINLIB=-lf2cimslmath
......@@ -12,7 +33,8 @@ F2CFLAGS=-f -u
PGPLOTLIB=-lf2cpgplot52 -lX11 -L/usr/X11/lib
CC=gcc
CFLAGS=-O2 -I${SERVERINCLUDEDIR} -I${LOCINCLUDEDIR}
LIBSFF=-lf2cstuff -L$(SERVERLIBDIR)
LIBSFF=-lsff -L$(SERVERLIBDIR)
LIBS=-lsffu -ltime
GFLAG=
OBS=sousou.o sousou_readdata.o sousou_skipdata.o sousou_checks.o \
......@@ -31,12 +53,9 @@ make.incdep: *.f
$(CC) $(CFLAGS) $(GFLAG) $(<:.f=.c) -c
@rm $(<:.f=.c)
clean:
-/bin/rm *.o *.bak
sousou: $(OBS)
$(CC) -o $(LOCBINDIR)/$@ $(OBS) \
-ltf -lts -ltime $(LIBSFF) \
-ltf -lts $(LIBS) $(LIBSFF) \
$(PGPLOTLIB) $(LINLIB) \
-L$(LOCLIBDIR) $(F2CLIB)
......@@ -45,3 +64,5 @@ docs: $(DOCS)
dep:
incdep > make.incdep
# ----- END OF Makefile -----
Supports Markdown
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