# This file contains variables that are the same for both pal and # gpal. # directory to install to. Depending on your distribution, you might # want to change this to /usr/local prefix = /usr CC = gcc VERSION = 0.3.4 # used for portage, rpm, ... DESTDIR = # optimizations/warnings OPT = -O2 -Wall ifeq ($(DEBUG),1) OPT = -g -Wall -pedantic endif # defines DEFS = -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(prefix)\" ifeq ($(DEBUG),1) DEFS += -DG_DISABLE_DEPRECATED -DDEBUG endif CFLAGS = ${OPT} ${INCLDIR} ${DEFS} LDFLAGS = ${LIBDIR} ${LIBS}