diff options
Diffstat (limited to 'Transceiver52M/Makefile.am')
-rw-r--r-- | Transceiver52M/Makefile.am | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Transceiver52M/Makefile.am b/Transceiver52M/Makefile.am index 6fcef7c..67ab0ea 100644 --- a/Transceiver52M/Makefile.am +++ b/Transceiver52M/Makefile.am @@ -21,19 +21,18 @@ include $(top_srcdir)/Makefile.common +AM_CFLAGS = $(STD_DEFINES_AND_INCLUDES) -std=gnu99 -march=native +AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) +AM_CXXFLAGS = -ldl -lpthread + #UHD wins if both are defined if UHD -AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(UHD_CFLAGS) +AM_CPPFLAGS += $(UHD_CFLAGS) else if USRP1 -AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(USRP_CFLAGS) -else -#we should never be here, as this doesn't build if one of the above -#doesn't exist -AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) +AM_CPPFLAGS += $(USRP_CFLAGS) endif endif -AM_CXXFLAGS = -ldl -lpthread rev2dir = $(datadir)/usrp/rev2 rev4dir = $(datadir)/usrp/rev4 @@ -53,7 +52,8 @@ COMMON_SOURCES = \ radioClock.cpp \ sigProcLib.cpp \ Transceiver.cpp \ - DummyLoad.cpp + DummyLoad.cpp \ + convolve.c libtransceiver_la_SOURCES = \ $(COMMON_SOURCES) \ @@ -75,7 +75,8 @@ noinst_HEADERS = \ USRPDevice.h \ DummyLoad.h \ rcvLPF_651.h \ - sendLPF_961.h + sendLPF_961.h \ + convolve.h USRPping_SOURCES = USRPping.cpp USRPping_LDADD = \ |