# $Id: Makefile,v 1.1 2002/01/26 12:27:54 malekith Exp $

GONTC = ../gontc
GFLAGS = -g

all: test

.SECONDARY: test.gio test.gio

%.gio: %.gi $(GONTC)
	$(GONTC) $(GFLAGS) -c $<

%.o: %.g %.gio $(GONTC)
	$(GONTC) -save-temps $(GFLAGS) -c $<

test: test.o
	$(GONTC) -o $@ $^

clean:
	rm -f *.o *.gio test.ksi test
