lav-sdl

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

чување 5dda5430e39edeba26c4ed74a3fd383cf27c7673
родитељ 45a70a059ace2643f539432db2c6a200a72fe76d
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Thu, 18 Apr 2024 10:26:41 +0200

config.mk: Split INCLUDE between default/OpenBSD; uncomment DOCDIR

Signed-off-by: Страхиња Радић <contact@strahinja.org>

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