Mercurial > hg > dmlib
view Makefile @ 1407:4bca92dd7280
Rename dm_strmatch() to dmStrMatch().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 05 Nov 2017 02:35:15 +0200 |
parents | 2791f790497d |
children | c3bda6e63b00 |
line wrap: on
line source
# # Generic UNIX targets # DM_CFLAGS += -DDM_HAVE_MEMSET=1 DMLIB ?= ./ BINPATH ?= ./ OBJPATH ?= ./obj/unix/ PREFIX ?= /usr/local INSTALL ?= install RANLIB ?= ranlib SDL_CFLAGS ?= $(shell pkg-config --cflags sdl) SDL_LDFLAGS ?= $(shell pkg-config --libs sdl) SDL_TTF_CFLAGS ?= $(shell pkg-config --cflags SDL_ttf) SDL_TTF_LDFLAGS ?= $(shell pkg-config --libs SDL_ttf) TREMOR_CFLAGS ?= $(shell pkg-config --cflags ogg) TREMOR_LDFLAGS ?= /usr/lib/libvorbisidec.a $(shell pkg-config --variable=libdir ogg)/libogg.a LIBPNG_CFLAGS ?= $(shell pkg-config --cflags libpng) LIBPNG_LDFLAGS ?= $(shell pkg-config --libs libpng) ZLIB_CFLAGS ?= $(shell pkg-config --cflags zlib) ZLIB_LDFLAGS ?= $(shell pkg-config --libs zlib) TOOL_LDFLAGS ?= $(SDL_LDFLAGS) include $(DMLIB)Makefile.gen install: all @for fn in $(TOOL_TARGETS); do echo " INSTALL $$fn $(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(PREFIX)/bin/; done