include ../../../../Configfile

CFLAGS=		$(FLAGS)

PRGS=		bounce cycle grav grid hilbert stringart walk

.c:
		$(CC) $(CFLAGS) -o $@ $@.c $(LIBDIR)/libmgr.a $(LIBEMU)

all:		$(PRGS)

stringart:      art_data.o stringart.o
		$(CC) $(CFLAGS) -o $@ art_data.o stringart.o $(LIBDIR)/libmgr.a $(LIBEMU)

install:        all
		install -c -s $(PRGS) $(BINDIR)
		install -c -m 644 *.1 $(MANDIR)/man1

clean:
		rm -f *.o

clobber:	clean
		rm -f core $(PRGS)
