Only build specific source files if needed.
This commit is contained in:
parent
7c17ac6cc4
commit
af812219f6
|
@ -21,9 +21,15 @@
|
||||||
noinst_LTLIBRARIES = libsigrokhwcommon.la
|
noinst_LTLIBRARIES = libsigrokhwcommon.la
|
||||||
|
|
||||||
libsigrokhwcommon_la_SOURCES = \
|
libsigrokhwcommon_la_SOURCES = \
|
||||||
ezusb.c \
|
misc.c
|
||||||
misc.c \
|
|
||||||
serial.c
|
if LA_SALEAE_LOGIC
|
||||||
|
libsigrokhwcommon_la_SOURCES += ezusb.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
if LA_OLS
|
||||||
|
libsigrokhwcommon_la_SOURCES += serial.c
|
||||||
|
endif
|
||||||
|
|
||||||
libsigrokhwcommon_la_CFLAGS = \
|
libsigrokhwcommon_la_CFLAGS = \
|
||||||
-I$(top_srcdir)/libsigrok
|
-I$(top_srcdir)/libsigrok
|
||||||
|
|
Loading…
Reference in New Issue