Skip to content

C

Build with Flox

Not only can you develop your software with Flox, but you can build it as well. See the builds concept page for more details.

This example will assume you're using autotools. Since autotools isn't specific to the C language, this example will also work for any project using autotools. Since the output of the build must be copied to the $out directory, you must set the install prefix to $out.

[build.myproject]
command = '''
  ./configure --prefix=$out
  make
  make install
'''