Remove unused linux Makefile. Merge README and README.TXT.
This commit is contained in:
parent
8b2ca5da1c
commit
d32d57f237
3 changed files with 24 additions and 65 deletions
24
README
24
README
|
@ -0,0 +1,24 @@
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
Public platform independent Near Field Communication (NFC) library
|
||||||
|
Copyright (C) 2009, Roel Verdult
|
||||||
|
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
Welcome to the developers community of libnfc.
|
||||||
|
|
||||||
|
Since it is hard to keep all information up to date
|
||||||
|
we decided to only maintain the online documentation.
|
||||||
|
Please visit the official website for more info:
|
||||||
|
http://www.libnfc.org
|
||||||
|
|
||||||
|
If you have questions, remarks, bug-reports, we encourage you to
|
||||||
|
post this in the developers community:
|
||||||
|
http://www.libnfc.org/community
|
||||||
|
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
Proprietary Notes:
|
||||||
|
|
||||||
|
FeliCa is s registered trademark of Sony Corporation. MIFARE is a
|
||||||
|
trademark of NXP Semiconductors. Jewel Topaz is a trademark of Innovision
|
||||||
|
Research & Technology. All other trademarks are the property of their
|
||||||
|
respective owners.
|
||||||
|
|
24
README.TXT
24
README.TXT
|
@ -1,24 +0,0 @@
|
||||||
------------------------------------------------------------------------
|
|
||||||
Public platform independent Near Field Communication (NFC) library
|
|
||||||
Copyright (C) 2009, Roel Verdult
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
Welcome to the developers community of libnfc.
|
|
||||||
|
|
||||||
Since it is hard to keep all information up to date
|
|
||||||
we decided to only maintain the online documentation.
|
|
||||||
Please visit the official website for more info:
|
|
||||||
http://www.libnfc.org
|
|
||||||
|
|
||||||
If you have questions, remarks, bug-reports, we encourage you to
|
|
||||||
post this in the developers community:
|
|
||||||
http://www.libnfc.org/community
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
Proprietary Notes:
|
|
||||||
|
|
||||||
FeliCa is s registered trademark of Sony Corporation. MIFARE is a
|
|
||||||
trademark of NXP Semiconductors. Jewel Topaz is a trademark of Innovision
|
|
||||||
Research & Technology. All other trademarks are the property of their
|
|
||||||
respective owners.
|
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
###############################################
|
|
||||||
# Linux settings
|
|
||||||
###############################################
|
|
||||||
LIBPCSC_HEADERS=`pkg-config --cflags libpcsclite`
|
|
||||||
LIBPCSC_LIB=`pkg-config --libs libpcsclite`
|
|
||||||
LIBUSB_HEADERS=`pkg-config --cflags libusb`
|
|
||||||
LIBUSB_LIB=`pkg-config --libs libusb`
|
|
||||||
LIBNFC_TYPE=so
|
|
||||||
LIBNFC_CFLAGS=-shared
|
|
||||||
LIBNFC_LINK=-Wl,-rpath,.
|
|
||||||
|
|
||||||
###############################################
|
|
||||||
# General settings
|
|
||||||
###############################################
|
|
||||||
LIBNFC_LDFLAGS=$(LIBPCSC_LIB) $(LIBUSB_LIB)
|
|
||||||
LIBNFC_PATH=..
|
|
||||||
VPATH=$(LIBNFC_PATH)
|
|
||||||
|
|
||||||
###############################################
|
|
||||||
# Compiler settings
|
|
||||||
###############################################
|
|
||||||
CC = gcc
|
|
||||||
LD = gcc
|
|
||||||
CFLAGS = -fPIC -Wall -O4 $(LIBPCSC_HEADERS) $(LIBUSB_HEADERS)
|
|
||||||
LDFLAGS = -fPIC -Wall -O4
|
|
||||||
|
|
||||||
OBJS = dev_pn531.o dev_acr122.o bitutils.o libnfc.o
|
|
||||||
HEADERS = devices.h bitutils.h defines.h libnfc.h
|
|
||||||
LIBNFC = libnfc.$(LIBNFC_TYPE)
|
|
||||||
EXES = anticol emulate list mftool relay
|
|
||||||
|
|
||||||
all: $(LIBNFC) $(EXES)
|
|
||||||
|
|
||||||
libnfc.$(LIBNFC_TYPE): $(OBJS)
|
|
||||||
$(LD) $(LDFLAGS) -o $(LIBNFC) $(LIBNFC_CFLAGS) $(LIBNFC_LDFLAGS) $(OBJS)
|
|
||||||
|
|
||||||
% : %.c $(LIBNFC)
|
|
||||||
$(LD) $(LDFLAGS) -o $@ $< -L. -lnfc $(LIBNFC_LINK)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f $(OBJS) $(LIBNFC) $(EXES)
|
|
Loading…
Reference in a new issue