view console/Makefile @ 13940:fe1c92e1494a

[gaim-migrate @ 16475] Fix a bug where the last character of the value returned by gaim_strdup_withhtml would be cut off. I accidentally introduced this bug in my change a day or two ago. My bad! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 10 Jul 2006 06:59:27 +0000
parents b210409cdc56
children 841a5ffbfee4
line wrap: on
line source

VERSION=gntgaim-0.0.0dev
CC=gcc
CFLAGS=`pkg-config --cflags gaim gobject-2.0 gnt` -g -Wall -DVERSION=\"$(VERSION)\"
LDFLAGS=`pkg-config --libs gaim gobject-2.0 libxml-2.0 gnt` -pg

GG_SOURCES = \
	gntaccount.c \
	gntblist.c \
	gntconv.c \
	gntui.c

GG_HEADERS = \
	gntaccount.h \
	gntblist.h \
	gntconv.h \
	gntui.h

GG_OBJECTS = \
	gntaccount.o \
	gntblist.o \
	gntconv.o \
	gntui.o

all: gntgaim

gntgaim: gntgaim.o $(GG_OBJECTS)
	$(CC) -o gntgaim gntgaim.o $(GG_OBJECTS) $(LDFLAGS)
gntaccount.o: gntaccount.c $(GG_HEADERS)
gntblist.o: gntblist.c $(GG_HEADERS)
gntconv.o: gntconv.c $(GG_HEADERS)
gntgaim.o: gntgaim.c gntgaim.h $(GG_HEADERS)
gntui.o: gntui.c $(GG_HEADERS)

clean:
	rm -f *.o
	rm -f gntgaim