GNU make is required to build disktype.
is set up to use GCC, but disktype should compile with any C compiler.
To change the compiler, you can edit the
or set the standard variables CC, CPPFLAGS, CFLAGS, LDFLAGS, and LIBS from
the make command line.
Makefile uses uname
to determine the system type
and enables certain system-dependent features based on that.
If you run into problems, you can disable all system-dependent features
by setting the variable NOSYS, as in
make results in the binary
Copy it to a
directory of your choice, optionally stripping it on the way. That's all.