Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (26 sloc) 741 Bytes
# paths
PREFIX ?= /usr/local
# where are the sources of irssi?
IRSSI_INCLUDE ?= ${PREFIX}/include/irssi
# where should be installed the module?
IRSSI_LIB ?= ${PREFIX}/lib/irssi
# where should be installed the documentation?
IRSSI_DOC ?= ${PREFIX}/share/doc/irssi
# where should be installed the help for commands ?
IRSSI_HELP ?= ${PREFIX}/share/irssi/help
# includes and libs
INCS = ${LIB_INCS} \
-I../../src/core \
-I${IRSSI_INCLUDE} \
-I${IRSSI_INCLUDE}/src \
-I${IRSSI_INCLUDE}/src/core \
-I$(IRSSI_INCLUDE)/src/fe-common/core \
`pkg-config --cflags loudmouth-1.0`
LIBS = ${LIB_LIBS}
# flags
CFLAGS = -fPIC -std=c99 -DUOFF_T_LONG ${INCS}
LDFLAGS = -shared ${LIBS}
# debug
CFLAGS += -W -ggdb -Wall
# compiler and linker
CC = cc
Jump to Line
Something went wrong with that request. Please try again.