1 # Copyright (c) 2014, 2015 InternetWide.org and the ARPA2.net project
4 # See the LICENSE file for details.
6 # Top-level bogus makefile for the Steamworks project. The real
7 # build-system is CMake. This makefile just arranges for an out-
8 # of-source build in a new subdirectory.
12 # Set CMAKE_ARGS to influence the configuration. Here
13 # are some examples, with the default settings assigned.
14 # Take care that *_DIR variables must have a trailing / .
16 # CMAKE_ARGS += -DPULLEY_SQUEAL_DIR=/var/db/
17 # CMAKE_ARGS += -DPULLEY_BACKEND_DIR=$(PREFIX)/share/steamworks/pulleyback/
22 test -d build/ || mkdir build
25 check-cmake: check-build
26 test -f build/Makefile || ( cd build ; cmake -DCMAKE_INSTALL_PREFIX:PATH=$(PREFIX) $(CMAKE_ARGS) ../src )
27 test -f build/Makefile
30 ( cd build ; $(MAKE) )
33 ( cd build ; $(MAKE) install PREFIX=$PREFIX )