Makefile 1.59 KB
Newer Older
1
# Makefile for Test_libstfinv
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Copyright (c) 2011 by Thomas Bohlen (KIT Karlsruhe) and Lisa Rehor (KIT Karlsruhe) 
#
# This file was copied from the DENISE code and adjusted for its use
# in this test programme.
#
# ----
# DENISE is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. 
# 
# DENISE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
# ----
23
24
25
26

#--------------------------------------------------------
# edit here:

27
28
29
CONTRIBDIR=../../..
include $(CONTRIBDIR)/Makefile_var

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

CC=gcc

#LFLAGS=-lstfinv -lfourierxx -lfftw3 -laff -lstdc++ 
LFLAGS=-lstfinv -lfourierxx -lfftw3 -laff 


CFLAGS= -Wall

all:	Test_libstfinv
	mv Test_libstfinv ..

.c.o:
	$(CC) -c -I$(LOCINCLUDEDIR) $(CFLAGS) $<


FFT_Test= \
	read_parameters.c \
	Test_libstfinv.c  
	
FFT_Test_OBJ = $(FFT_Test:%.c=%.o)

Test_libstfinv:		$(FFT_Test_OBJ) 
	$(CC) $(CFLAGS) -I$(LOCINCLUDEDIR) -L$(LOCLIBDIR) $(FFT_Test_OBJ) -o Test_libstfinv $(LFLAGS)


clean:
	find . -name "*.o" -exec rm {} \; 
	find . -name "*.c%" -exec rm {} \;
	find . -name "*.bck" -exec rm {} \;
	rm -f ../Test_libstfinv