Remove "manual" Windows makefile: Windows users should now use CMake.
This commit is contained in:
parent
693389ac10
commit
c2cead7089
3 changed files with 0 additions and 113 deletions
|
@ -1,39 +0,0 @@
|
||||||
###############################################
|
|
||||||
# General settings
|
|
||||||
###############################################
|
|
||||||
VERSION = 1.3.4
|
|
||||||
SOURCE = ../src
|
|
||||||
NFC_LIB = $(SOURCE)/lib
|
|
||||||
NFC_INCLUDE = $(SOURCE)/include
|
|
||||||
NFC_BUSES = $(NFC_LIB)/buses
|
|
||||||
VPATH = $(SOURCE)/examples $(NFC_LIB) $(NFC_BUSES) $(NFC_LIB)/chips $(NFC_LIB)/drivers
|
|
||||||
|
|
||||||
###############################################
|
|
||||||
# Compiler settings
|
|
||||||
###############################################
|
|
||||||
CC = cl
|
|
||||||
LD = link
|
|
||||||
CFLAGS = -O2 -GL -I "$(Include);$(INCLUDE)" -I "$(NFC_INCLUDE)" -I "$(NFC_BUSES)" -I "stdint" -D "WIN32" -MT -D "_CRT_SECURE_NO_WARNINGS" -D "HAVE_PCSC_LITE" -D "PACKAGE_VERSION=\"$(VERSION)\"" -D "_WINDLL" -EHsc -W3 -nologo -TC -errorReport:prompt
|
|
||||||
LDFLAGS = -INCREMENTAL:NO -NOLOGO -MANIFEST:NO -OPT:REF -OPT:ICF -LTCG winscard.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
|
|
||||||
|
|
||||||
###############################################
|
|
||||||
# Files
|
|
||||||
###############################################
|
|
||||||
OBJS = pn53x.obj pn532_uart.obj acr122.obj arygon.obj bitutils.obj uart.obj nfc.obj
|
|
||||||
HEADERS = dev_acr122.h bitutils.h defines.h libnfc.h
|
|
||||||
LIBNFC = libnfc
|
|
||||||
EXES = nfc-anticol.exe nfc-list.exe nfc-emulate.exe nfc-relay.exe nfc-mfclassic.exe nfc-mfultralight.exe nfcip-initiator.exe nfcip-target.exe
|
|
||||||
|
|
||||||
all: $(LIBNFC) $(EXES)
|
|
||||||
|
|
||||||
%.obj : %.c
|
|
||||||
$(CC) -c $(CFLAGS) $<
|
|
||||||
|
|
||||||
libnfc: $(OBJS)
|
|
||||||
$(LD) $(LDFLAGS) -OUT:$(LIBNFC).dll -DLL -DEF:"libnfc.def" -SUBSYSTEM:WINDOWS $(OBJS)
|
|
||||||
|
|
||||||
%.exe : %.c $(LIBNFC)
|
|
||||||
$(CC) $(CFLAGS) -I "$(NFC_LIB)" $< /link /OUT:$@ -SUBSYSTEM:CONSOLE $(LDFLAGS) $(LIBNFC).lib
|
|
||||||
|
|
||||||
clean:
|
|
||||||
del /Q $(OBJS) $(LIBNFC).dll $(LIBNFC).exp $(LIBNFC).lib *.obj $(EXES)
|
|
|
@ -1,23 +0,0 @@
|
||||||
Installation instructions for Windows using WinSDK7 and MinGW Make
|
|
||||||
------------------------------------------------------------------
|
|
||||||
|
|
||||||
Get the source files
|
|
||||||
--------------------
|
|
||||||
1. Download the Source for Microsoft Windows (libnfc-1.3.3-winsdk.zip)
|
|
||||||
2. Extract the files to your computer (e.g. C:\libnfc-1.3.3-winsdk)
|
|
||||||
|
|
||||||
MinGW
|
|
||||||
-----
|
|
||||||
1. Download MinGW from http://www.mingw.org/
|
|
||||||
2. Install MinGW Make
|
|
||||||
3. Make sure to add the MinGW\bin to the Windows PATH Environment Variable
|
|
||||||
|
|
||||||
Windows SDK
|
|
||||||
-----------
|
|
||||||
1. Download Microsoft Windows SDK v7.0 (http://msdn.microsoft.com/en-us/windows/bb980924.aspx)
|
|
||||||
2. Open the "Start Menu\All programs\Microsoft Windows SDK v7.0\CMD Shell"
|
|
||||||
|
|
||||||
C:\Program Files\Microsoft SDKs\Windows\v7.0> WindowsSdkVer.exe -version:v7.0
|
|
||||||
C:\Program Files\Microsoft SDKs\Windows\v7.0> cd C:\ libnfc-1.3.3-winsdk\win32
|
|
||||||
C:\ libnfc-1.3.3-winsdk\win32>mingw32-make
|
|
||||||
|
|
|
@ -1,51 +0,0 @@
|
||||||
EXPORTS
|
|
||||||
; acr122.h
|
|
||||||
acr122_connect
|
|
||||||
acr122_disconnect
|
|
||||||
acr122_transceive
|
|
||||||
acr122_firmware
|
|
||||||
acr122_led_red
|
|
||||||
|
|
||||||
; arygon.h
|
|
||||||
arygon_connect
|
|
||||||
arygon_disconnect
|
|
||||||
arygon_transceive
|
|
||||||
|
|
||||||
; libnfc.h
|
|
||||||
nfc_list_devices
|
|
||||||
nfc_connect
|
|
||||||
nfc_disconnect
|
|
||||||
nfc_configure
|
|
||||||
nfc_initiator_init
|
|
||||||
nfc_initiator_transceive_bits
|
|
||||||
nfc_initiator_transceive_bytes
|
|
||||||
nfc_initiator_transceive_dep_bytes
|
|
||||||
nfc_initiator_select_tag
|
|
||||||
nfc_initiator_select_dep_target
|
|
||||||
nfc_initiator_deselect_tag
|
|
||||||
nfc_initiator_mifare_cmd
|
|
||||||
nfc_target_init
|
|
||||||
nfc_target_receive_bits
|
|
||||||
nfc_target_receive_bytes
|
|
||||||
nfc_target_receive_dep_bytes
|
|
||||||
nfc_target_send_bits
|
|
||||||
nfc_target_send_bytes
|
|
||||||
nfc_target_send_dep_bytes
|
|
||||||
nfc_version
|
|
||||||
nfc_device_name
|
|
||||||
|
|
||||||
; bitutils.h
|
|
||||||
oddparity
|
|
||||||
oddparity_bytes
|
|
||||||
mirror
|
|
||||||
mirror32
|
|
||||||
mirror64
|
|
||||||
mirror_bytes
|
|
||||||
swap_endian32
|
|
||||||
swap_endian64
|
|
||||||
append_iso14443a_crc
|
|
||||||
print_hex
|
|
||||||
print_hex_bits
|
|
||||||
print_hex_par
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue