aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 1b3ae1beeef259df01b179f67b72f367609ab6f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
#	ivy-xchat-plugin, an xchat plugin that relays events to an Ivy bus
# 
#	Copyright (C) 2002
#	IntuiLab
#
#	Makefile
#
#	Author(s): Stephane Chatty <chatty@intuilab.com>
#
#	$Id$
#
#	Distributed under the LGPL license
#
LIB = $(PREFIX)/usr/lib/xchat/plugins

LDFLAGS = -L/usr/X11R6/lib -ggdb
CFLAGS = -Wall
CC = gcc

ivy-xchat-plugin.so:	ivy-xchat-plugin.c
	$(CC) $(LDFLAGS) $(CFLAGS) -I../include -DSKIPCONFIG -shared -Wl,-soname,ivy-xchat-plugin.so -o $@ $< -lc -lgtkivy `gtk-config --cflags`


install:
	test -d $(LIB) || mkdir -p $(LIB)
	install -m 755 ivy-xchat-plugin.so  $(LIB);