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
6 staticlibname=libDttSP.a
36 KOBJ = oscillator.o cwtones.o chan.o ringb.o banal.o bufvec.o splitfields.o cxops.o
39 $(CC) -o jsdr main.o $(OBJ) $(LIBS)
41 all: jsdr mkchan ipc metermon specmon keyd keyb
43 keyd: keyd.o keyer.o $(KOBJ)
44 $(CC) -o keyd keyd.o keyer.o $(KOBJ) $(LIBS)
46 keyb: keyb.o keyer.o $(KOBJ)
47 $(CC) -o keyb keyb.o keyer.o $(KOBJ) $(LIBS)
53 $(CC) -o metermon metermon.o $(LIBS)
56 $(CC) -o specmon specmon.o $(LIBS)
64 /bin/rm *.o jsdr keyb keyd metermon #$(staticlibname)
68 ar rcs $(staticlibname) $(OBJ)
69 ranlib $(staticlibname)
71 #mkchan: mkchan.o bufvec.o banal.o cxops.o
72 # $(CC) -o mkchan mkchan.o bufvec.o banal.o cxops.o $(LIBS)
74 #CFLAGS = -fPIC -g -O3 -I. -I/usr/local/include
75 # sharedlibname=libDttSP.so
77 # sharedlib=$(sharedlibname).$(sharedlibvers)
79 # gcc -shared -Wl,-soname,$(sharedlib) -o $(sharedlib) $(OBJ) -lc