@@ -18,5 +18,5 @@ selecta_change_from_orig:
# Don't work in Makefile !
all:
- gcc -o poolset -lusb -lnfc -lfreefare poolset.c
+ gcc poolset.c -lusb -lnfc -lfreefare -o poolset
@@ -3,7 +3,7 @@ RFID Poolset
PoC to load and reload credits from Mifare Classic (S50)
-First, you need libnfc and libfreefare.
+First, you need libnfc and libfreefare, and maybe not from the Debian repository...
Second, you have to compile ;)
$ make all
@@ -20,7 +20,7 @@ void rw_tag(int coins, char *buy_date, char *expire_date) {
nfc_context *context; //init libnfc
nfc_device *pnd; //trouver un lecteur
- FreefareTag *tags = NULL; //stockage des tags
+ MifareTag *tags = NULL; //stockage des tags
int i, nbsect;
nfc_init(&context);