# Makefile for SCIX demos. Johan Ihren.

.SUFFIXES:

.SUFFIXES:	.sc .o

.sc.o: ;	$(SCC) -c $(SCCFLAGS) $*.sc

.c.o: ;		$(SCC) -c $(SCCFLAGS) $*.c

SCC	  = scc

SXDSRC = scixdemos.sc hello.sc toggle.sc tracker.sc wheel.sc graphic.sc \
	 bounce.sc

SXDOBJ = scixdemos.o

all:		scixdemos.o

scixdemos.o:	$(SXDSRC)

wheel:		standalone-wheel.sc scixdemos.o
		$(SCC) -o wheel standalone-wheel.sc -L.. -lscix

graphic:	standalone-graphic.sc scixdemos.o
		$(SCC) -o graphic standalone-graphic.sc -L.. -lscix

clean: ;	rm -f core *.o *.c *~ SC-TO-C*
