Mercurial > hg > dmlib
view Makefile @ 1732:07111a60cd4e
Add dmSetMixedColorC64Palette() for setting a 256 entry "mixed color"
palette, which consists of averaged 16 x 16 matrix of C64 palette.
This can be used for rendering images that use color interlace.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 08 Jun 2018 22:09:00 +0300 |
parents | 5e5f75b45f8d |
children | 85f76ec15090 |
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 sdl2) SDL_LDFLAGS ?= $(shell pkg-config --libs sdl2) SDL_TTF_CFLAGS ?= $(shell pkg-config --cflags SDL2_ttf) SDL_TTF_LDFLAGS ?= $(shell pkg-config --libs SDL2_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 ?= include $(DMLIB)Makefile.gen install: all @for fn in $(TOOL_TARGETS); do echo " INSTALL $$fn $(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(PREFIX)/bin/; done