Michel Machado 71433d3b78 Improve Makefile
- Change compiling flag -Wpedantic to -pedantic.
  Flag -Wpedantic is not available in older versions of gcc,
  what makes the life of some users unnecessarily harder.
  Not to mention that both flags work fine for F3.

- Allow make variable CC to be set externally.
  Some platforms favor other C compilers.
  For example, FreeBSD defaults to clang.

- Allow make variable CFLAGS to be extended externally.
  This helps packaging.

- Target clean to also remove *.d files.

The three first improvements were suggested by
Thomas Fischer and Uffe Jakobsen.
The discussion is available here:

https://github.com/AltraMayor/f3/issues/4
2014-09-05 07:58:08 -04:00
2014-08-12 13:56:01 -04:00
2014-08-28 15:11:31 -04:00
2014-09-02 10:30:43 -04:00
2014-09-02 10:30:43 -04:00
2014-08-28 15:11:31 -04:00
2014-09-05 07:58:08 -04:00
2014-08-28 15:11:31 -04:00
2014-09-02 10:30:43 -04:00

### Compile on Linux, Apple Mac, and Windows/Cygwin

make

### Use example

./f3write /media/5EBD-5C80/
./f3read /media/5EBD-5C80/

Please replace "/media/5EBD-5C80/" with the appropriate path.
USB devices are mounted in "/Volumes" on Macs.

### For more information see http://oss.digirati.com.br/f3/

### Files

changelog	- Change log for package maintainers.
f3read.1	- Man page for f3read and f3write.
		  In order to read this manual page, run 'man ./f3read.1'.
		  To install the page, run
		  'install --owner=root --group=root --mode=644 f3read.1 /usr/share/man/man1'.
LICENSE		- License (GPLv3).
Makefile	- make(1) file.
README		- This file.

*.h and *.c	- C code of F3.

## Bash scripts

Although the simple scripts listed in this section are ready for use,
they are really meant to help you to write your own scripts.
So you can personalize F3 to your specific needs.

f3write.h2w	- Script to create files exactly like H2testw.
		  Use example: 'f3write.h2w /media/5EBD-5C80/'

log-f3wr	- Script that runs f3write and f3read, and records
		  their output into a log file.
		  Use example: 'log-f3wr log-filename /media/5EBD-5C80/'

Please notice that all scripts and use examples above assume that
f3write, f3read, and the scripts are reachable from
your environment PATH variable.
If that is not the case, but all of them are in your current path,
prefix the use examples above with 'PATH=$PATH:./' as shown below
for the script log-f3wr:

PATH=$PATH:./ log-f3wr log-filename /media/5EBD-5C80/

The current path is represented by './' in the previous example.
Description
F3 - Fight Flash Fraud
Readme GPL-3.0 1.6 MiB
Languages
C 97.4%
Makefile 1.2%
Roff 1%
Dockerfile 0.2%
Shell 0.2%