# $Id: Makefile,v 1.2 2004/08/04 18:57:05 baum Exp $
#
# this Makefile must be called from the Master Gnocl Makefile

ADDCFLAGS += $(shell pkg-config --cflags vte)
LIBS += $(shell pkg-config --libs vte)

############################################################
# There should be no need to edit something below this line
############################################################

OBJS = \
   gnoclVTE.o


.PHONY: gconf clean

%.o : %.c; $(CC) -c $(CPPFLAGS) $(CFLAGS) $(ADDCFLAGS) -o $*.o $<

vte: ../gnoclVTE.so ;

../gnoclVTE.so: $(OBJS)
	$(CC) -shared -o ../gnoclVTE.so $(OBJS) $(LIBS)

clean:
	rm -f $(OBJS) ../gnoclVTE.so

