topsrc = @top_srcdir@

CC = @CC@
CFLAGS = @CFLAGS@
MAKE = @MAKE@
GTK_CFLAGS = @GTK_CFLAGS@

VPATH = $(topsrc)/gui2/gtkextra-lite

override CFLAGS += -I$(topsrc)/gui2/gtkextra-lite $(GTK_CFLAGS) -I$(topsrc)/lib/src

SRCS = gtkplotpc.c gtkplotps.c gtkpsfont.c
HDRS = gtkplot-lite.h gtkplotpc.h gtkplotps.h gtkpsfont.h
OBJS = $(SRCS:.c=.o)

LIB = libgtkextra-lite.a

all: $(LIB)

$(LIB): $(OBJS)
	ar -rs $@ $^

clean:
	rm -f *.o $(LIB)



