File: Makefile.win

package info (click to toggle)
wstools 0.4.8d-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,440 kB
  • ctags: 1,991
  • sloc: cpp: 13,880; makefile: 469
file content (53 lines) | stat: -rw-r--r-- 974 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# wxMSW 2.4.2 It is invoked with:
# 
# make -f Makefile.win [FINAL=1 [WXUSINGDLL=1]
#

# Change this to point to the root of your wxMSW installation

export WXDIR=/c/wxWindows-2.4.2

include ${WXDIR}/src/makeg95.env

#
# Set the version of FFTW that you have, here.
#
export FFT_VERS := 3
# export FFT_VERS := 2

ifeq ($(FFT_VERS),3)
    FFT_CFLAGS := -DHAVE_FFTW3=1
    FFT_LIB := -lfftw3
endif

ifeq ($(FFT_VERS),2)
    FFT_CFLAGS := -DHAVE_FFTW2=1
    FFT_LIB := -lfftw
endif

export LDFLAGS := $(ALL_LDFLAGS) -L..

export LIBS := $(FFT_LIB) $(LIBS)

export CFLAGS := -I.. $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) $(FFT_CFLAGS) -fexceptions

all:		fsk441/FSK441.exe jt44/JT44.exe

fsk441/FSK441.exe:	common/common.a
		make -C fsk441

jt44/JT44.exe:	common/common.a
		make -C jt44

jt6m/JT6M.exe:	common/common.a
		make -C jt6m

common/common.a:
		make -C common

clean:
		rm -f core *~ *.bak
		make -C common clean
		make -C fsk441 clean
		make -C jt44 clean
		make -C jt6m clean