linije

Клон игре Color lines
git clone https://git.sr.ht/~strahinja/linije
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

INSTALL (1152B)


      1 Prerequisites
      2 =============
      3 
      4 * C compiler - defaults in config.mk (HaikuOS needs Clang/LLVM)
      5 * libSDL v3 (SDL3, SDL3_image - as of 2025-07, build from source:
      6   	https://github.com/libsdl-org/SDL
      7   	https://github.com/libsdl-org/SDL_image
      8   Confirmed as still needed in OpenBSD and Alpine; specifically needs
      9   SDL_SCALEMODE_PIXELART from newer versions of SDL3, absent in current SDL3
     10   port in OpenBSD)
     11 
     12 
     13 Install
     14 -------
     15 
     16 	$ git clone https://git.sr.ht/~strahinja/linije
     17 	$ cd linije
     18 	$ cp config.$(uname -s) config.mk
     19 	$ su
     20 	# make install
     21 
     22 With got[1]:
     23 
     24 	$ got clone https://git.sr.ht/~strahinja/linije
     25 	$ got checkout linije.git
     26 	$ cd linije
     27 	$ cp config.$(uname -s) config.mk
     28 	$ su
     29 	# make install
     30 
     31 
     32 Persistent build configuration file
     33 -----------------------------------
     34 
     35 The file config.mk will be sourced when building targets which also accept
     36 configuration through environment variables.  For example, CPPFLAGS and PREFIX
     37 are specified in config.mk.
     38 
     39 Initially, there will be no config.mk, you will need to copy one of the
     40 customized config.* files or write your own:
     41 
     42 	$ cp config.$(uname -s) config.mk || echo Write config.mk from scratch