Mercurial > hg > dmlib
comparison Makefile @ 841:dd35d66c3714
Improve build process.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 14 Jul 2014 00:09:12 +0300 |
parents | a9d0d35476ae |
children | 8d909205b0fd |
comparison
equal
deleted
inserted
replaced
840:a9d0d35476ae | 841:dd35d66c3714 |
---|---|
1 # | 1 # |
2 # Generic UNIX targets | 2 # Generic UNIX targets |
3 # | 3 # |
4 DMLIB = ./ | |
5 BINPATH ?= | |
6 OBJPATH ?= ./obj/unix/ | |
7 EXEEXT ?= | |
8 PREFIX ?= /usr/local | |
9 INSTALL = install | |
10 RANLIB = ranlib | |
11 | |
4 SDL_CFLAGS=`sdl-config --cflags` | 12 SDL_CFLAGS=`sdl-config --cflags` |
5 SDL_LDFLAGS=`sdl-config --static-libs` | 13 SDL_LDFLAGS=`sdl-config --static-libs` |
6 | 14 |
7 SDL_TTF_CFLAGS= | 15 SDL_TTF_CFLAGS= |
8 SDL_TTF_LDFLAGS=-lSDL_ttf | 16 SDL_TTF_LDFLAGS=-lSDL_ttf |
14 LIBPNG_LDFLAGS=`pkg-config --libs libpng` | 22 LIBPNG_LDFLAGS=`pkg-config --libs libpng` |
15 | 23 |
16 ZLIB_CFLAGS=`pkg-config --cflags zlib` | 24 ZLIB_CFLAGS=`pkg-config --cflags zlib` |
17 ZLIB_LDFLAGS=`pkg-config --libs zlib` | 25 ZLIB_LDFLAGS=`pkg-config --libs zlib` |
18 | 26 |
19 RANLIB=ranlib | |
20 | |
21 DMLIB = ./ | |
22 BINPATH ?= | |
23 OBJPATH ?= ./unix/ | |
24 EXEEXT ?= | |
25 PREFIX ?= /usr/local | |
26 INSTALL = install | |
27 | 27 |
28 include $(DMLIB)Makefile.gen | 28 include $(DMLIB)Makefile.gen |
29 | 29 |
30 | 30 |
31 install: all | 31 install: all |