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
38 KOBJ = oscillator.o cwtones.o chan.o ringb.o banal.o bufvec.o splitfields.o cxops.o
41 $(CC) -o jsdr main.o $(OBJ) $(LIBS)
43 all: jsdr ipc metermon specmon keyd keyb
45 keyd: keyd.o keyer.o keyerio.o $(KOBJ)
46 $(CC) -o keyd keyd.o keyer.o keyerio.o $(KOBJ) $(LIBS)
48 keyb: keyb.o keyer.o keyerio.o $(KOBJ)
49 $(CC) -o keyb keyb.o keyer.o $(KOBJ) $(LIBS)
56 $(CC) -o metermon metermon.o $(LIBS)
59 $(CC) -o specmon specmon.o $(LIBS)
67 /bin/rm *.o jsdr keyb keyd metermon #$(staticlibname)
71 ar rcs $(staticlibname) $(OBJ)
72 ranlib $(staticlibname)
74 #mkchan: mkchan.o bufvec.o banal.o cxops.o
75 # $(CC) -o mkchan mkchan.o bufvec.o banal.o cxops.o $(LIBS)
77 #CFLAGS = -fPIC -g -O3 -I. -I/usr/local/include
78 # sharedlibname=libDttSP.so
80 # sharedlib=$(sharedlibname).$(sharedlibvers)
82 # gcc -shared -Wl,-soname,$(sharedlib) -o $(sharedlib) $(OBJ) -lc
84 keybun: keybun.o keyer.o keyerio.o $(KOBJ)
85 $(CC) -o keybun keybun.o keyer.o $(KOBJ) $(LIBS)