diff options
Diffstat (limited to 'Makefile.flags.am')
-rw-r--r-- | Makefile.flags.am | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.flags.am b/Makefile.flags.am new file mode 100644 index 0000000..c6c4844 --- /dev/null +++ b/Makefile.flags.am @@ -0,0 +1,18 @@ +LIBVERSION= 0:0:0 + +AM_CFLAGS = -std=gnu99 +INCLUDES = $(all_includes) -I$(top_srcdir)/include + +if ENABLE_WIN32 +AM_LDFLAGS = -mno-cygwin +AM_CFLAGS += -mno-cygwin +else +if HAVE_LIBUSB +AM_LDFLAGS = -lusb +AM_CFLAGS += -DHAVE_LIBUSB +endif +endif + +if ENABLE_FIRMWARE +AM_CFLAGS += -DLIBRFID_FIRMWARE +endif |