]> git.rkrishnan.org Git - dttsp.git/blob - jDttSP/Makefile
multiple receivers implemented
[dttsp.git] / jDttSP / Makefile
1 CFLAGS = -g -O3 -I. -I/usr/local/include
2 #CFLAGS = -g -I. -I/usr/local/include
3 LIBS = -L/usr/local/lib -ljack -lpthread -lgsl -lgslcblas -lfftw -lm
4 #LIBS = -lefence -L/usr/local/lib -ljack -lpthread -lgsl -lgslcblas -lfftw -lm
5
6 staticlibname=libDttSP.a
7
8 OBJ =   am_demod.o\
9         banal.o\
10         bufvec.o\
11         chan.o\
12         chap.o\
13         correctIQ.o\
14         crc16.o\
15         cxops.o\
16         digitalagc.o\
17         fastrig.o\
18         filter.o\
19         fm_demod.o\
20         lmadf.o\
21         noiseblanker.o\
22         oscillator.o\
23         ovsv.o\
24         ringb.o\
25         sdr.o\
26         sdrexport.o\
27         speechproc.o\
28         splitfields.o\
29         spottone.o\
30         thunk.o\
31         window.o\
32         update.o
33
34 KOBJ = oscillator.o cwtones.o chan.o ringb.o banal.o bufvec.o splitfields.o cxops.o
35
36 jsdr:   main.o $(OBJ)
37         $(CC) -o jsdr main.o $(OBJ) $(LIBS)
38
39 all:    jsdr mkchan ipc metermon keyd keyb
40
41 keyd:   keyd.o keyer.o $(KOBJ)
42         $(CC) -o keyd keyd.o keyer.o $(KOBJ) $(LIBS)
43
44 keyb:   keyb.o keyer.o $(KOBJ)
45         $(CC) -o keyb keyb.o keyer.o $(KOBJ) $(LIBS)
46
47
48 $(OBJ): sdrexport.h
49
50 metermon:       metermon.o chan.o ringb.o bufvec.o cxops.o banal.o
51         $(CC) -o metermon metermon.o chan.o ringb.o bufvec.o cxops.o banal.o $(LIBS)
52
53 mkchan: mkchan.o bufvec.o banal.o cxops.o
54         $(CC) -o mkchan mkchan.o bufvec.o banal.o cxops.o $(LIBS)
55
56 ipc:    mkchan
57         ./setup-ipc
58
59 obj:    $(OBJ)
60
61 clean:
62         /bin/rm *.o jsdr mkchan metermon keyd #$(staticlibname)
63         #/bin/rm IPC/*
64
65 staticlib:      $(OBJ)
66         ar rcs $(staticlibname) $(OBJ)
67         ranlib $(staticlibname)
68
69 #CFLAGS = -fPIC -g -O3 -I. -I/usr/local/include
70 # sharedlibname=libDttSP.so
71 # sharedlibvers=0.0.1
72 # sharedlib=$(sharedlibname).$(sharedlibvers)
73 # sharedlib:    $(OBJ)
74 #       gcc -shared -Wl,-soname,$(sharedlib) -o $(sharedlib) $(OBJ) -lc
75