Mercurial > hg > dmlib
view Makefile @ 598:6699a8b25535
Remove setupfont.h and setupimage.h from direct build targets, so that they
do not get deleted, only updated when needed by other targets.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 12 Apr 2013 07:49:11 +0300 |
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