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
34 KOBJ = oscillator.o cwtones.o chan.o ringb.o banal.o bufvec.o splitfields.o cxops.o
37 $(CC) -o jsdr main.o $(OBJ) $(LIBS)
39 all: jsdr mkchan ipc metermon keyd keyb
41 keyd: keyd.o keyer.o $(KOBJ)
42 $(CC) -o keyd keyd.o keyer.o $(KOBJ) $(LIBS)
44 keyb: keyb.o keyer.o $(KOBJ)
45 $(CC) -o keyb keyb.o keyer.o $(KOBJ) $(LIBS)
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)
53 mkchan: mkchan.o bufvec.o banal.o cxops.o
54 $(CC) -o mkchan mkchan.o bufvec.o banal.o cxops.o $(LIBS)
62 /bin/rm *.o jsdr mkchan metermon keyd #$(staticlibname)
66 ar rcs $(staticlibname) $(OBJ)
67 ranlib $(staticlibname)
69 #CFLAGS = -fPIC -g -O3 -I. -I/usr/local/include
70 # sharedlibname=libDttSP.so
72 # sharedlib=$(sharedlibname).$(sharedlibvers)
74 # gcc -shared -Wl,-soname,$(sharedlib) -o $(sharedlib) $(OBJ) -lc