lav-sdl

SDL верзија програма Лавиринт
git clone https://git.sr.ht/~strahinja/lav-sdl
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 620343f0a70c84f494c636f008d3ad26832d5403
родитељ ac6c0e73c8f84225403946760d51408d9bbcd7d9
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Fri, 26 Apr 2024 18:59:48 +0200

Merge branch 'master' of git.sr.ht:~strahinja/lav-sdl

Diffstat:
MINSTALL | 7+++++--
Mconfig.mk | 5+++--
измењених датотека: 2, додавања: 8(+), брисања: 4(-)

diff --git a/INSTALL b/INSTALL @@ -25,11 +25,14 @@ are specified in config.mk. OpenBSD ------- -Before running make(1), comment the _CPPFLAGS definition in config.mk above the -line with the "OpenBSD" comment and uncomment the one below it: +Before running make(1), comment the _CPPFLAGS and INCLUDE definitions in +config.mk above the line with the "OpenBSD" comment and uncomment the ones below +it: #_CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \ # -D_XOPEN_SOURCE=700 + #INCLUDE = -I/usr/include/SDL2 # OpenBSD _CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \ -D_XOPEN_SOURCE=700 -D_BSD_SOURCE + INCLUDE = -I$/usr/local/include/SDL2 diff --git a/config.mk b/config.mk @@ -2,10 +2,11 @@ CFLAGS = -Os -Wall -pedantic -std=c99 _CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \ -D_XOPEN_SOURCE=700 +INCLUDE = -I/usr/include/SDL2 # OpenBSD #_CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \ # -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -INCLUDE = -I/usr/local/include/SDL2 +#INCLUDE = -I$/usr/local/include/SDL2 INSTALL = install LIBS = -lSDL2_image -lSDL2 -lm SRC = lav-sdl.c @@ -18,7 +19,7 @@ PROG = lav-sdl BINDIR = $(PREFIX)/bin CPPFLAGS = $(_CPPFLAGS) $(INCLUDE) DATADIR = $(PREFIX)/share/$(PROG) -#DOCDIR = $(PREFIX)/share/doc/$(PROG) +DOCDIR = $(PREFIX)/share/doc/$(PROG) #MANPREFIX = $(PREFIX)/share/man # OpenBSD #MANPREFIX = $(PREFIX)/man