WIN32: fixed export issues that involves executables linking DYNAMICLY to libnfc.dll
This commit is contained in:
parent
28a9f981cb
commit
5a77ad7a1e
2 changed files with 5 additions and 1 deletions
|
@ -28,7 +28,7 @@ libnfc: $(OBJS)
|
|||
$(LD) $(LDFLAGS) -OUT:$(LIBNFC).dll -DLL -DEF:"libnfc.def" -SUBSYSTEM:WINDOWS $(OBJS)
|
||||
|
||||
nfc-%.exe : %.c $(LIBNFC)
|
||||
$(CC) $(CFLAGS) $< /link /OUT:$@ -SUBSYSTEM:CONSOLE $(LDFLAGS) $(OBJS)
|
||||
$(CC) $(CFLAGS) $< /link /OUT:$@ -SUBSYSTEM:CONSOLE $(LDFLAGS) $(LIBNFC).lib
|
||||
|
||||
clean:
|
||||
del /Q $(OBJS) $(LIBNFC).dll $(LIBNFC).exp $(LIBNFC).lib *.obj $(EXES)
|
|
@ -28,14 +28,18 @@ EXPORTS
|
|||
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
|
||||
|
||||
; bitutils.h
|
||||
oddparity
|
||||
|
|
Loading…
Add table
Reference in a new issue