view Makefile @ 510:43ea59887c69

Start work on making C64 formats encoding possible by changing DMDecodeOps to DMEncDecOps and adding fields and op enums for custom encode functions, renaming, etc. Split generic op sanity checking into a separate function in preparation for its use in generic encoding function.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 19 Nov 2012 15:06:01 +0200
parents f9be2bc8f8ed
children a9d0d35476ae
line wrap: on
line source

#
# Generic UNIX targets
#
SDL_CFLAGS=`sdl-config --cflags`
SDL_LDFLAGS=`sdl-config --static-libs`

TREMOR_CFLAGS=-I/usr/local/lib/
TREMOR_LDFLAGS=/usr/local/lib/libvorbisidec.a /usr/lib/i386-linux-gnu/libogg.a

LIBPNG_CFLAGS=`pkg-config --cflags libpng`
LIBPNG_LDFLAGS=`pkg-config --libs libpng`

ZLIB_CFLAGS=`pkg-config --cflags zlib`
ZLIB_LDFLAGS=`pkg-config --libs zlib`

RANLIB=ranlib

DMLIB = ./
BINPATH ?= 
OBJPATH ?= ./unix/
EXEEXT ?=
PREFIX ?= /usr/local
INSTALL = install

include $(DMLIB)Makefile.gen


install: all
	@for fn in $(TOOL_TARGETS); do echo " INSTALL $$fn $(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(PREFIX)/bin/; done