Mercurial > hg > dmlib
comparison Makefile @ 1398:2791f790497d
Use $(shell ..) instead of backtics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 28 Oct 2017 17:45:39 +0300 |
parents | acae5f8ebc67 |
children | c3bda6e63b00 |
comparison
equal
deleted
inserted
replaced
1397:01d9bd6e88a8 | 1398:2791f790497d |
---|---|
8 OBJPATH ?= ./obj/unix/ | 8 OBJPATH ?= ./obj/unix/ |
9 PREFIX ?= /usr/local | 9 PREFIX ?= /usr/local |
10 INSTALL ?= install | 10 INSTALL ?= install |
11 RANLIB ?= ranlib | 11 RANLIB ?= ranlib |
12 | 12 |
13 SDL_CFLAGS ?= `pkg-config --cflags sdl` | 13 SDL_CFLAGS ?= $(shell pkg-config --cflags sdl) |
14 SDL_LDFLAGS ?= `pkg-config --libs sdl` | 14 SDL_LDFLAGS ?= $(shell pkg-config --libs sdl) |
15 | 15 |
16 SDL_TTF_CFLAGS ?= `pkg-config --cflags SDL_ttf` | 16 SDL_TTF_CFLAGS ?= $(shell pkg-config --cflags SDL_ttf) |
17 SDL_TTF_LDFLAGS ?= `pkg-config --libs SDL_ttf` | 17 SDL_TTF_LDFLAGS ?= $(shell pkg-config --libs SDL_ttf) |
18 | 18 |
19 TREMOR_CFLAGS ?= `pkg-config --cflags ogg` | 19 TREMOR_CFLAGS ?= $(shell pkg-config --cflags ogg) |
20 TREMOR_LDFLAGS ?= /usr/lib/libvorbisidec.a `pkg-config --variable=libdir ogg`/libogg.a | 20 TREMOR_LDFLAGS ?= /usr/lib/libvorbisidec.a $(shell pkg-config --variable=libdir ogg)/libogg.a |
21 | 21 |
22 LIBPNG_CFLAGS ?= `pkg-config --cflags libpng` | 22 LIBPNG_CFLAGS ?= $(shell pkg-config --cflags libpng) |
23 LIBPNG_LDFLAGS ?= `pkg-config --libs libpng` | 23 LIBPNG_LDFLAGS ?= $(shell pkg-config --libs libpng) |
24 | 24 |
25 ZLIB_CFLAGS ?= `pkg-config --cflags zlib` | 25 ZLIB_CFLAGS ?= $(shell pkg-config --cflags zlib) |
26 ZLIB_LDFLAGS ?= `pkg-config --libs zlib` | 26 ZLIB_LDFLAGS ?= $(shell pkg-config --libs zlib) |
27 | 27 |
28 | 28 |
29 TOOL_LDFLAGS ?= $(SDL_LDFLAGS) | 29 TOOL_LDFLAGS ?= $(SDL_LDFLAGS) |
30 | 30 |
31 include $(DMLIB)Makefile.gen | 31 include $(DMLIB)Makefile.gen |